Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Bootstrap-table with bootstrap 4 and x-editable removes editable attributes #3705
I'm trying to build a sortable table with inline editing using Bootstrap 4, jQuery 3.3.1, bootstrap-table1.12.1 and x-editable 1.5.1 (or the latest from the dev branch I could download).
I load the data using PHP and Twig, from the server. The list is long, i.e. many rows of data.
I've managed to reproduce the problem on jsfiddle.
I hope someone can help.
UPDATE: clicking around in the jsFiddle, I noticed that some of the fields are actually editable, but only in the first row, not the second.
UPDATE2: turns out there was an error in the data attributes. There is no 'data-type="checkbox"'. Once I changed that to checklist, the second row worked as well. I have updated the jsFiddle.
Only thing I need now is figure out how to make the checklists work.
UPDATE3: turns out the inline editing is lost when the table is filtered by using the search field.
replace the buttons solve the issue, the problem is that Glyphicons icon font is missing