- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2025 05:45 PM
Not sure if I understood right but I think you are trying to use the state like the ng-model directive in angularjs. It does not work like two-way data binding. UIB is more like react; you have to use an event handler to update the state, not bind the state property to the component value property.
For the select component you need an event handler to update the state parameter when the choice is selected
And similarly to the textbox
Then for your button you would need to create a data resource that handles updates, there is the oob update record data resource that you can execute with the button clicked event. (you might have this but it's not visible in your screenshots, the api calls in the client script look like they might be hallucinations).
The data resource will have event mappings for the operation result which you can use to show error messages/close the modal etc
From a ux perspective i would instead of ui messages just use the required checkbox for the inputs to make them "mandatory-looking". And bind the state values to the disabled property of the button to make it unsubmittable