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

Inconsistency when disabled dates are manually entered in the picker #1795

Closed
kdikov82 opened this issue Jun 15, 2016 · 3 comments
Closed

Inconsistency when disabled dates are manually entered in the picker #1795

kdikov82 opened this issue Jun 15, 2016 · 3 comments

Comments

@kdikov82
Copy link
Contributor

Refer to the following dojo example:
http://dojo.telerik.com/ecILA/2

Steps to reproduce:

  1. In empty picker, enter disabled data (6/12/2016) for example
    result -> value is cleared
  2. Pick or enter valid date and then change it to a disabled date (without clearing the valid date)
    result -> value is not cleared
@KirilNN
Copy link
Contributor

KirilNN commented Jun 15, 2016

I would like to see a comment from @ggkrustev, as I am not sure what is the expected behavior here.

@ggkrustev
Copy link
Contributor

We'd need to persist the typed text in 1) to be consistent with 2).

[TL;DR]
Although it sounds strange, the idea behind the widget is to keep the wrong value and allow the developer to validate it with separate validation mechanism.

@kdikov82
Copy link
Contributor Author

@ggkrustev I agree that 1) should behave as 2), since entering any text (not valid date) will be kept in the input, although that the value will be null in all cases

@kdikov82 kdikov82 modified the milestone: 2016.Q2.SP.next Jun 17, 2016
@KirilNN KirilNN added this to the 2016.Q2.SP.next milestone Jul 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants