Topic: Inline form prevent default
Dear Support!
I would like to ask how can I use perventDefault in inline form? The simples solution doesn't work:
Thank you, Mihaly
Magdalena Dembna
staff premium answered 8 months ago
If you want to prevent submitting the following solution worked for me;
<mdb-form-inline @submit.prevent>
<mdb-input />
<mdb-btn type="submit">submit</mdb-btn>
</mdb-form-inline>
Best regards, Magdalena
Answered
- User: Pro
- Premium support: Yes
- Technology: Vue
- MDB Version: 6.7.1
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: No