This is a migrated thread and some comments may be shown as answers.

KendoReact Checkbox does not update when props change

1 Answer 224 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Arek
Top achievements
Rank 1
Veteran
Arek asked on 26 Jan 2021, 07:57 AM

Hello,

 

We are using kendo-react-inputs 3.17.0

I've created minimal reproduction example from problem that we have with Checkbox component.

If, we at the very first step click on the checkbox then properly true is displayed. Checkbox also says true.

Then, we click button that changes Parent state outside from kendo component. Now, it looks like checkbox is not updated.

Checkbox still says it's true, but we can see that text value says false.

 

Example is here:

https://codesandbox.io/s/serene-jackson-lrc2i?file=/src/Parent.tsx

 

Thanks in advance for explanation!

 

Best regards,

Arek

1 Answer, 1 is accepted

Sort by
0
Silviya
Telerik team
answered on 26 Jan 2021, 08:15 AM

Hello Arek,

This is a known issue and it is already logged for fixing:

https://github.com/telerik/kendo-react/issues/699

I will raise its priority and add it to the queue of bug fixes. Let me know if I could be in further help.

Best Regards,
Silviya
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
Arek
Top achievements
Rank 1
Veteran
Answers by
Silviya
Telerik team
Share this question
or