Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug][DatePicker] Setting the "valid" property throws a warning message in the console #2188

Closed
kdikov82 opened this issue Apr 17, 2024 · 1 comment
Assignees
Labels
Bug Item which indicates that something is not working KendoReact pkg:Dateinputs SEV: High
Milestone

Comments

@kdikov82
Copy link
Contributor

I'm submitting a...

  • Bug report

Current behavior

Setting the "valid" property throws a warning message in the console:

preview-afd2289b8907a.js:2 Warning: Received `false` for a non-boolean attribute `valid`.
If you want to write it to the DOM, pass a string instead: valid="false" or valid={value.toString()}.
If you used to conditionally omit it with valid={condition && value}, pass valid={condition ? value : undefined} instead.

Minimal reproduction of the problem with instructions

Open the browser console and run the example:
https://stackblitz.com/edit/react-4a39ds?file=app%2Fmain.jsx

Version:
7.4.0

@kdikov82 kdikov82 added Bug Item which indicates that something is not working pkg:Dateinputs SEV: High KendoReact labels Apr 17, 2024
@kdikov82 kdikov82 changed the title [Bug][DatePicker] Setting "valid" property throws warning [Bug][DatePicker] Setting the "valid" property throws a warning message in the console Apr 17, 2024
@WissamProgress
Copy link
Collaborator

Also reported in Ticket ID: 1650835

@PekoPPT PekoPPT self-assigned this May 8, 2024
@PekoPPT PekoPPT added this to the 2024 Q2 (May) milestone May 8, 2024
@PekoPPT PekoPPT closed this as completed May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Item which indicates that something is not working KendoReact pkg:Dateinputs SEV: High
Projects
None yet
Development

No branches or pull requests

3 participants