Topic: Checkbox does not looks like in mdb site

MY PD free asked 6 years ago


I have just copy paste your code in my html partial view but checkbox is coming normal not as shown in your site.

<div class="form-row">
<div class="col-md-12 form-inline">
<div class="form-check">
@Html.CheckBoxFor(model => model.IsEmployee, new { @class = "form-check-input", @checked = "checked", @id = "chkIsEmployee" })
<label class="form-check-label" for="chkIsEmployee">Is Employee</label>
</div>

<div class="form-check">
@Html.CheckBoxFor(model => model.IsActive, new { @class = "form-check-input", @checked = "checked", @id = "chkIsActive" })
<label class="form-check-label" for="chkIsActive">Is Active</label>
</div>

<div class="form-check">
@Html.CheckBoxFor(model => model.IsAdmin, new { @class = "form-check-input", @checked = "checked", @id = "chkIsAdmin" })
<label class="form-check-label" for="chkIsAdmin">Is Admin</label>
</div>
</div>
</div>


Marta Wierzbicka staff answered 6 years ago


Hi, checkboxes are premium components and they will not work in the free package. Best, Marta

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: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags