Remove a radio button from ui builder which is not static

robinbkumar
Tera Contributor

Hi Community,

 

I am new to UI builder. I have a requirement to remove the last radio button option. Since the data is not static, I am not able to find, how to remove it. Also, these same choices value shows when I click on "add another delivery date" in a drop down. Please help me.

1 REPLY 1

Kevin83
ServiceNow Employee
ServiceNow Employee

The component properties "Options" and "Selected option" are "data bound" to state variables. You can see a list of all state variables in the bottom left of the screen under "Client State Parameters". (the icon for the data binding matches the client state parameter icon)

The client state parameter is likely being set by a Client Script, you can also see all the client scripts in the bottom left of the screen. You'll like see some code like `api.setState("dateRadioOptions", foo)` that is setting the value for the options you want to modify