Skip to content

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

Open
RichMcQuillen wants to merge 1 commit intoKasperOlesen:masterfrom
RichMcQuillen:patch-1
Open

Update dataTables.altEditor.free.js for BS5#225
RichMcQuillen wants to merge 1 commit intoKasperOlesen:masterfrom
RichMcQuillen:patch-1

Conversation

@RichMcQuillen
Copy link
Copy Markdown

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
Copy Markdown
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