Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


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>
        </div>

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>
        </div>

Tomek Makowski staff answered 4 years ago


Hi

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

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: 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