Topic: onClick become DoubleClick for submit type

Kurodo free asked 2 years ago


Expected behavior

Submit usually will work when I clicked once when I did not implement the CDN script file. What modification I can do just to purely remove that feature while still using other features?

Actual behavior

However, after implementing the CDN script all my submit would need double click in order to trigger an event.

Resources (screenshots, code snippets etc.)

Below is the example code I created:

Link: https://mdbootstrap.com/snippets/standard/chuah_sze_wei/4420498


dwilbur priority answered 2 years ago


could this thread be updated once the fix is available? default for wtforms appears to use input for its generated forms.


Kamila Pieńkowska staff answered 2 years ago


Fix for this issue is prepared and waiting for release. Until release please use tag button type submit instead of input.

Example here: https://mdbootstrap.com/snippets/standard/kpienkowska/4423958


Peter free commented 1 year ago

Is the fix for this one in the latest release?

I see 2 releases for v6 over the last few months, but no changelog detailing the released changes.


Kamila Pieńkowska staff commented 1 year ago

This bug was fixed in release 6.0.1



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 Standard
  • MDB Version: MDB5 5.0.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes