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

Update dataTables.altEditor.free.js for BS5 #225

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RichMcQuillen
Copy link

Bootstrap 5(BS5) has breaking changes that prevent this from working. data-dismiss becomes data-bs-dismiss, etc...

This version is updated to work with the newer BS.

form-group also doesn't exist in BS5; I left it, and customized with css:
.errorLabel {
display: none;
}

.form-group {
    margin-bottom: 4px;
}

I considered changing form-group to input-group; nah.

I also didn't like col-3 + col-8 =11, not 12, and didn't like the mobile scrolling for col-xs for phones.

So these are proposed changes, for you to review and/or accept reject. You can also make a bs4 vs bs5 version.

Outstanding product. Thank you for your hard work!!!

Bootstrap 5(BS5) has breaking changes that prevent this from working.  data-dismiss becomes data-bs-dismiss, etc... 

This version is updated to work with the newer BS.

form-group also doesn't exist in BS5; I left it, and customized with css:
    .errorLabel {
        display: none;
    }

    .form-group {
        margin-bottom: 4px;
    }

I considered changing form-group to input-group; nah.

I also didn't like col-3 + col-8 =11, not 12, and didn't like the mobile scrolling for col-xs for phones.

So these are proposed changes, for you to review and/or accept reject.  You can also make a bs4 vs bs5 version.

Outstanding product.  Thank you for your hard work!!!
@luca-vercelli
Copy link
Collaborator

I think it is safer to create a separated branch for BS5
Can you please fix conflicts?

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