Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
30
disable igx-radio-group in reactive forms
posted

Hello!

I have an igx-radio-group as part of a reactive form.

When I try to disable the form by entering

formName.disable();
formName.get('controlName').disable();

all controls of the form get disabled except the radio-group.

The only way i found to disable it is to add the [disabled]-attribute to the template, but this gives me a warning, that the disabled attribute should not be used in a reactive form.

How can I solve this issue? Thank you

Parents
No Data
Reply
  • 1500
    Offline posted

    Hello,

    Thank you for posting on our forums.

    It would seems as the setDisabled method is missing from the igxRadioGroupDirective, causing only this component to remain active. I have logged this issue in our GitHub repository here. Please subscribe to the thread so you can receive notifications when this receives updates.

    Please accept our apologies for the inconvenience caused.

    Sincerely,

    Tihomir Tonev
    Associate Software Developer
    Infragistics

Children
No Data