Hello,
I use a form with a lot of different fields, some of them are datefields.
These fields are submitted by using an ajax request. In the ajax requests callback I reset the form by
Code:
form.setValues( form.getValues());
where form is the main FormPanels basic form.
This works like a charm as long I dont clear any of the datefields.
If the datefield values are existent and changed the fields aren't dirty after the submit. But if I remove a value by clearing the textfield part the empty/null value is sent to the server but the field stays dirty.
Anybody knows how to solve this?
Thx