q-input field suggestions based on user entered values earlier
Trying to get the suggestion input values based on previous entries in q-input, it is not working. the q-input field is wrapped in Q-Form… still not working. This is not what I am talking about autocomplete based on predefined values which now served by Qselect. Just from the input field history.
I am not sure what I am missing here, appreciated any help.
metalsadman last edited by
@hemanth try @Hawkeye64 answer to you in discord.
@metalsadman Thanks for the quick response. Its not resolved with all those. I just tried with putting normal html input tag in the component and it worked for it. Seems its not working for q-input. Replyed to @Hawkeye64 in discord. Thank you guys for doing the great work.
Well Guys, I made it working now. the q-input component is not adding “name” attribute by default when it is converted to html native attribute. After adding the “name” tag in q-input its working now. If I am missing something make this work please let me know, other wise request to inlude “name” native attribute to q-input.
metalsadman last edited by metalsadman
@hemanth why should it add a name by default tho? even in html you have to specify the name attribute and assign a value to it. See https://quasar.dev/vue-components/input#Native-attributes.