Binding Search #498
-
I am trying out the Search Input component, but it is not working (or working as expected). What I am trying to get is the value of the search term entered. I tried the Input and Number Input and both are able to bind to a value like this:
This binds as expected and shows the value in the p-tag However when I do the same on Search Input, I get nothing. I have also tried the on:submit event and it never fires?
This does not show the value in the p-tag. I also tried the on:submit event as per Events, but it never fires:
What I am trying to do is get the value the user entered into the Search Input and then act on it. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Yes, the Search component should bind a value and have |
Beta Was this translation helpful? Give feedback.
-
I will bind a value to Search component but you need to use on:submit event to the form tag.
|
Beta Was this translation helpful? Give feedback.
Yes, the Search component should bind a value and have
on:submit
event forward. I will add them in the next version.