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

Form TextArea Throws Error onFocus

3 Answers 235 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kyle
Top achievements
Rank 2
Veteran
Kyle asked on 05 Jan 2021, 03:48 PM

https://stackblitz.com/edit/react-s8ugrr-dvxqcf?file=app/main.jsx

When you click in the TextArea in the above StackBlitz, React throws a warning in the console:

Warning: Received `true` for a non-boolean attribute `visited`.
 
If you want to write it to the DOM, pass a string instead: visited="true" or visited={value.toString()}.
at textarea
at span
at KendoTextArea (https://react-s8ugrr-dvxqcf.stackblitz.io/turbo_modules/@progress/kendo-react-inputs@4.1.0/dist/npm/textarea/TextArea.js:40:33)
at div
at KendoReactFieldWrapper (https://react-s8ugrr-dvxqcf.stackblitz.io/turbo_modules/@progress/kendo-react-form@4.1.0/dist/npm/FieldWrapper.js:13:24)
at FormTextArea (https://react-s8ugrr-dvxqcf.stackblitz.io/~/app/main.jsx:42:13)
at KendoReactField (https://react-s8ugrr-dvxqcf.stackblitz.io/turbo_modules/@progress/kendo-react-form@4.1.0/dist/npm/Field.js:30:22)
at div
at fieldset
at form
at KendoReactFormElement (https://react-s8ugrr-dvxqcf.stackblitz.io/turbo_modules/@progress/kendo-react-form@4.1.0/dist/npm/FormElement.js:33:22)
at KendoReactForm (https://react-s8ugrr-dvxqcf.stackblitz.io/turbo_modules/@progress/kendo-react-form@4.1.0/dist/npm/Form.js:87:28)
at App

3 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 06 Jan 2021, 06:34 AM

Hello, Kyle,

This is a known warning and I have added your report to the issue:

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

As this is just a warning for an attribute, the component should be working as expected and the warnings are only shown in develop mode, not in production.

Regards,
Stefan
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/.

0
Kyle
Top achievements
Rank 2
Veteran
answered on 06 Jan 2021, 06:42 PM

Glad to know!  I wasn't concerned.  I just wanted to let you guys know.

Thanks for everything.

0
Kyle
Top achievements
Rank 2
Veteran
answered on 15 Jan 2021, 02:12 PM
Tags
General Discussions
Asked by
Kyle
Top achievements
Rank 2
Veteran
Answers by
Stefan
Telerik team
Kyle
Top achievements
Rank 2
Veteran
Share this question
or