Topic: checkbow without label in table

Jacques Meirlaen free asked 4 years ago


Expected behavior checkbox without label in table column should be rendred

Actual behavior I have a table with a column containing only a checkbox without label. Unfortunately the checkbox is not rendred without its label but I can't set a label for each checkbox. How can I do to have the checkbox accessible?

Thank you.

Resources (screenshots, code snippets etc.)


Jacques Meirlaen free answered 4 years ago


Thank you for your answer but there are no solutions and it is impossible to put simple check boxes in a table. Imagine a table with hundreds of lines, it seems inconceivable and ineffective to put on each line an useless id and label. Finally I will have to build myself a simple checkbox without label. Pity...


Tomek Makowski staff commented 4 years ago

Checkbox is designed in way that label is required

You can always use this example of table with checkboxes

https://mdbootstrap.com/docs/jquery/tables/datatables/#checkbox-example

Regards


Tomek Makowski staff answered 4 years ago


Hi

Check this out

https://mdbootstrap.com/snippets/jquery/tomekmakowski/2271206

label element cannot be actually deleted, you can only remove text from its

Regards



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.17.0
  • Device: laptop
  • Browser: Chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No