chaning a value of a dataprovider via a method...

I have a form in a dialog.
I call a method when I close the dialog (onHide).

When I close the dialog I check one field/dataprovider for it’s value. If the value matches a condition the method reverts the value to null.

Now when I don’t have a focus to the field the value is set to null like expected.

However, when there is focus to that field the value changes back to the value.
Yes, it changes back… After closing the dialog I see a listview with that row/dataprovider. The first second I see the dataprovider as expected (empty) and then I see the input re-appear…

The issue can’t be solved by setting a focus to another field with a method. This doesn’t help, I have to go out of the field via a tab or clicking in the form…

i changed some code so the formpanel should go out of edit mode before onHide is called when setting closing the formdialog.
Please test this in RC8

But how did you close the dialog if you have focus on that field?
What did trigger the close?

I close the dialog with the closebutton/box of the window itself