dependent() doesn't fire for field where type="date"
dependent() doesn't fire for field where type="date"
In https://datatables.net/forums/discussion/53015/is-there-any-way-to-disable-editor-form-buttons you suggest to use dependent() to see when certain fields change.
I am checking for change for some fields where type="date" but unfortunately dependent() doesn't seem to fire for these when the datepicker is used.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
http://live.datatables.net/canoxuhi/1/edit
It looks like for whatever reason jQuery UI's date picker doesn't trigger a change event when you actually change the value. Using a custom
onSelect
resolves that.The other option is to use the
datetime
built in input rather jQuery UI's.Allan