l457
Kilo Patron

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

lauri457_0-1765761982750.png

 

And similarly to the textbox

lauri457_1-1765762010048.png

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).

lauri457_2-1765762047585.png

lauri457_4-1765762355997.png

 

The data resource will have event mappings for the operation result which you can use to show error messages/close the modal etc 

lauri457_5-1765762413242.png

 

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

lauri457_3-1765762233462.png