nasa / gesdisc-meditor

MIT License
7 stars 2 forks source link

fix(datetimewidget): fix broken onBlur event handling #64

Closed benforshey closed 1 month ago

benforshey commented 1 month ago

@rsjf (or our onBlur function) did not correctly handle the onBlur event--the input's value would not save to form state. onBlur now calls @rsjf's native onChange event.

fix #53470

benforshey commented 1 month ago

To test this PR, please run mEditor locally and choose any model that uses "format": "date-time" as a property (Alerts do). Using Alerts as an example, verify that (in a new document) you can: