JDilleen / datatables-bulma

DataTables styling for the Bulma CSS framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is-disabled Deprecated

Tibincrunch opened this issue · comments

The "is-disabled" CSS class has been deprecated in favor of the disabled HTML attribute per the Bulma docs. More info. Using dataTables.bulma.js allows the user to click on the ellipsis when available and there's nowhere for them to go, resulting in this error.

ellipsis_error

I believe the fix is to remove any appended "is-disabled" classes and add the disabled property where appropriate. My JS skills are severely lacking so I wasn't able to figure out how to do this myself.

@Tibincrunch - I've fixed this, both Previous, Next and ellipsis buttons will now display as disabled via the attribute. Sorry for the delay!

I just hit on the issue using typescript and react. Because disabled is not valid attribute for anchor, my typescript is complaining all the time. There is no way around this but to create the style by my self.
Please consider to bring the class is-disabled back to life at least.
Thank you.