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

DatePicker onBlur

1 Answer 821 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 03 Dec 2019, 08:36 AM
I am using a DatePicker control and need to handle the onBlur event, to run some logic when the user finishes changing the value (eg manually typing in a new date).  The onChange event fires with every keystroke, so it isn't suitable for my requirement.  The onBlur however doesn't seem to be firing correctly.  Is this the expected behaviour?  If so, what work around can one use?

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 03 Dec 2019, 09:22 AM

Hello, Daniel,

I added the onBlur event of the DatePicker and it was fired as expected:

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

Could you please let me know which is the incorrect behavior that is observed for firing this event.

Regards,
Stefan
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Daniel
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or