Skip to content

data-coreui-toggle="loading-button" prevents submitting action#546

Open
vladrusu wants to merge 2 commits intocoreui:mainfrom
vladrusu:main-patch2
Open

data-coreui-toggle="loading-button" prevents submitting action#546
vladrusu wants to merge 2 commits intocoreui:mainfrom
vladrusu:main-patch2

Conversation

@vladrusu
Copy link
Contributor

Consider the following code:

<form>
...
<button type="submit" class="btn btn-primary" data-coreui-toggle="loading-button">Save</button>
</form>

Pressing Save button never submits the form. I don't think that adding data-coreui-toggle="loading-button" should prevent default action.

Added pull request.

@vladrusu
Copy link
Contributor Author

vladrusu commented Oct 3, 2025

Hello,
Seems like this was approved but not merged, please check. :-)
The bug is still present in the latest version (5.20).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants