igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

igx-checkbox can't be checked when a parent element has "igx-form-group" class.

Open tkiryu opened this issue 8 years ago • 4 comments

Description

igx-checkbox can't be checked a when parent element has "igx-form-group" class.

Result

When I markup as follows, igx-checkbox can't be checked.

<div class="igx-form-group">
  <igx-checkbox>label</igx-checkbox>
</div>

Expected result

igx-checkbox should be checked whatever class parent element has.

Attachments

igx-checkbox.zip

  • angular: 5.2.8
  • igniteui-angular: 5.2.1

tkiryu avatar Mar 12 '18 06:03 tkiryu

The igx-form-group class will be depricated with the next release. The intent of this class was to be used ONLY with inputs of type text, email, tel, etc, as shown in the examples. I don't remember us ever showing using this class with igx-checkbox.

simeonoff avatar Mar 13 '18 06:03 simeonoff

@simeonoff , you mean, igxFormContainer will replace igx-form-group in the next release, am I correct?

tkiryu avatar Mar 16 '18 01:03 tkiryu

@tkiryu yes, the new component will bring some breaking changes related to the input and its styling. So yes, you are correct, although the exact name is igxInputGroup.

simeonoff avatar Mar 20 '18 09:03 simeonoff

@simeonoff , thank you for the information!

tkiryu avatar Mar 22 '18 07:03 tkiryu