-
|
Hi, my mentor has asked me to use dropdown rather than select. However, when using dropdown with a text field, the dropdown appears but does not change the text in the text field when clicked. Below is the code. |
Beta Was this translation helpful? Give feedback.
Answered by
saadeghi
Sep 22, 2022
Replies: 1 comment
-
|
daisyUI only provides the visual UI. When there's an input and a list and you want to manipulate values on click, you need to use JS. Here's an example with Svelte: https://svelte.dev/repl/bce20af7a3c64f1f9018d4d870b1b2f5?version=3.50.1 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
saadeghi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
daisyUI only provides the visual UI. When there's an input and a list and you want to manipulate values on click, you need to use JS.
Here's an example with Svelte: https://svelte.dev/repl/bce20af7a3c64f1f9018d4d870b1b2f5?version=3.50.1