Hi all,
I'm working with Smart GWT and have a `DynamicForm` bound to a `DataSource`. Most of the UI renders as expected, but I'm encountering a problem where certain fields particularly those modified via custom logic or programmatically set do not get included in the `DSRequest` sent on form submission.
I have a `DynamicForm` bound to a `DataSource`.
Some fields are hidden and updated via `form.setValue("fieldName", value)` in response to user actions.
When I call `form.saveData()`, those programmatically-set values are missing from the request payload, even though `form.getValue("fieldName")` returns the correct data.
Is there a recommended way to ensure that hidden or programmatically-set values are included in the final DSRequest? Any help or guidance would be much appreciated.
Crazy Cattle 3D
I'm working with Smart GWT and have a `DynamicForm` bound to a `DataSource`. Most of the UI renders as expected, but I'm encountering a problem where certain fields particularly those modified via custom logic or programmatically set do not get included in the `DSRequest` sent on form submission.
I have a `DynamicForm` bound to a `DataSource`.
Some fields are hidden and updated via `form.setValue("fieldName", value)` in response to user actions.
When I call `form.saveData()`, those programmatically-set values are missing from the request payload, even though `form.getValue("fieldName")` returns the correct data.
Is there a recommended way to ensure that hidden or programmatically-set values are included in the final DSRequest? Any help or guidance would be much appreciated.
Crazy Cattle 3D
Comment