Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

SmartGWT.Mobile DynamicForm.clearValues

$
0
0
We have a DynamicForm bound to a server DataSource.
The DataSource returns more Fields than the Form is showing.
We use the Form to edit existing and add new Records.
When editing we call the Form's editRecord(record) operation.

Afterwards we call form.clearValues() and form.editNewRecord().
The problem is that form.saveData() sends some values from the first editet record to the server. ClearValues() has not deleted everything.
If we use form.clearValues(false) instead, everything works as expected.

This happens with the current SmartGWT.Mobile nightbuild.

Viewing all articles
Browse latest Browse all 4756

Trending Articles