[Solved] Modal with form
Hello, has anybody found a way to capture input within a
<q-modal>component? I see that I can do simple events but I was hoping to use a modal to capture the input from a card reader scan (and then update the corresponding model after parsing the string).
Either I need to pass the raw string from the card scan back via the
close()function or possibly directly update the data model.
Any thoughts appreciated!
So, sometimes you get lucky :-)
I just put an input element into the modal and it works beautifully. Not sure if that was a “duh” moment or not but it works fantastic!