Disable entire form (Quasar Beta v1)
How can I disable all elements in a form?
disable is no prop on q-form; wrapping with q-field would work but destroys layout (also indicated in docs to not wrap q-input/q-select.
s.molinari last edited by
Every form component in Quasar has a
disableprop. Use that.
I know, I wanted to avoid adding :diable props for each form component, but not a big problem, just wanted to know if I overlook anything here.
s.molinari last edited by s.molinari
Yeah, well. For the record, all Quasar components are self-sustained/ self-contained, meaning you won’t see any “cross component” communication or prop swapping or whatever else you might think of that could happen between components. It’s up to you to “wire up” components as you see fit.
metalsadman last edited by metalsadman
@jriemer welp, you could use inner loading component https://quasar.dev/vue-components/inner-loading#Introduction to disable a part of your form.
example https://codepen.io/metalsadman/pen/QRoKoz. you could use a spinner or just choose not to show one, by giving it a
sizeprop of 0px.