[Solved] Modal with form
krsyoung last edited by krsyoung
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!
krsyoung last edited by
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!