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

Inconistent behavior of the Spreadsheet list validation when the from option contains empty space #7913

Open
nelito987 opened this issue Jul 26, 2024 · 0 comments
Labels
Bug C: Spreadsheet FP: Unplanned Sync status with associated Feedback Item jQuery Regression Broken functionality which was working previously

Comments

@nelito987
Copy link
Contributor

Bug report

When attempting to validate a cell value against a predefined finite list, the validation process fails to recognize valid entries that are present in the list. Instead, it incorrectly flags them as invalid. The issue occur when there is an empty space before the first value in the 'from' option.

Reproduction of the problem

  1. Run the Dojo - https://dojo.telerik.com/@NeliK/icizisEF

Current behavior

On the first row, the 'YES' in the B1 cell is marked as invalid although it is present in the list with the valid values. the difference between row 1 and row 4 is the empty space in the validation from configuration:

"from": "{ \"YES\", \"NO\"}", //row 1
"from": "{\"YES\", \"NO\"}" //row 4

Expected/desired behavior

The empty space added in the from configuration option should not affect the validation. If the cell value is present in the list, it should be marked as valid.

The issue is a regression starting with 2020.3.1118

Environment

  • Kendo UI version: 2024.2.514
  • Browser: [all]
@nelito987 nelito987 added Bug C: Spreadsheet jQuery Regression Broken functionality which was working previously labels Jul 26, 2024
@github-actions github-actions bot added the FP: Unplanned Sync status with associated Feedback Item label Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug C: Spreadsheet FP: Unplanned Sync status with associated Feedback Item jQuery Regression Broken functionality which was working previously
Projects
None yet
Development

No branches or pull requests

1 participant