Base solution for your next web application
Open Closed

css class kt-checkbox not working with the indeterminate state #9694


User avatar
0
shridhar.mole created
  • 8.9?
  • Angular
  • .net core

I am using checkbox using kt-checkbox class , but not able to set "indeterminate" state for the checkbox.

<label for="pOverpGrowth" class="kt-checkbox" style="display: block;">
                                        <input id="pOverpGrowth" type="checkbox" [indeterminate]="myList">
                                        {{'PeriodOverPeriodGrowth' | localize}}
                                        <span></span>
                                    </label>

in above code myList variable value is set to true, If I not set class="kt-checkbox" to the label then the "indeterminate" state is working but I want indeterminate state working with the same above code.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @shridhar.mole

    It seems like Metronic checkboxes doesn't support that.