Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Inline form prevent default

lyahim free asked 4 years ago


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 answered 4 years 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



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 6.7.1
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: No