Topic: Form-Check Checkbox not allowing line break

shimon priority asked 4 years ago

Expected behavior I'm using for form-check and it only works inline. Here is my working code:

        <div class="form-check">
            <input type="checkbox" class="form-check-input" id="1" style="text-align:center;">
            <label class="form-check-label" for="1">Material unchecked</label>

Actual behavior When I add in a line break then the code dissapears

Resources (screenshots, code snippets etc.)

        <div class="form-check">
            <input type="checkbox" class="form-check-input" id="1"><br />
            <label class="form-check-label" for="1">Material unchecked</label>

Tomek Makowski staff answered 4 years ago


I can't recognize what do you expect. Could you be more clearly? If you want increase length between elements use margin-bottom class.


Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: 4.19.0
  • Device: Dell Computer
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No