Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various fixes #544

Closed
wants to merge 5 commits into from
Closed

Various fixes #544

wants to merge 5 commits into from

Conversation

vladrusu
Copy link
Contributor

@vladrusu vladrusu commented Oct 15, 2024

This pull request consists of three fixes:

  1. Bootstrap-version JS generation
    In the current state, Core UI Bootstrap JS is not really bootstrap compatible. All data attributes are expected to be data-coreui instead of data-bs, as with Bootstrap. This basically breaked a lot of Boostrap code.
    Fixed this.
    Also fixed coreui.io website being written wrong in the source as bs.io.

  2. data-coreui-toggle="loading-button" prevents submitting action
    For example, clicking this button this won't trigger submit: <button type="submit" data-coreui-toggle="loading-button">Save</button>

  3. jQuery fixes (config was ignored, if given as parameter)
    For example, as of currently, passing config via jQuery to a rating component is ignored. For example $('#myRating').rating({ name: 'rating' }) does the same as $('#myRating').rating(). Obviously a bug.

@vladrusu vladrusu changed the title Various Bootstrap-version JS generation fixes Various fixes Oct 15, 2024
@vladrusu
Copy link
Contributor Author

I will close this and add each fix into a separate merge request.

@vladrusu vladrusu closed this Oct 16, 2024
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.

1 participant