mardi 14 août 2018

Checkbox not Rendering or Changing Checked value when state is changing

I have to change the value of Checkbox to Checked from Unchecked and vise-versa.

For that I am changing state on button click.

and if 'checked' state value is 'true' then Checkedbox should be checked. But, It not.

I have used property 'checked' and assigned state's boolean value. So, it should render when state going to be changed but it not changing.

Is there any other way to render Checkbox ?




Aucun commentaire:

Enregistrer un commentaire