You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that the built-in ChainedSelect lets us open more selectors based on dropdown selections. How can I open up a custom component (or any other component except another selector) based on the option I've selected? I would like to open/unhide another component the moment the selection is made, just like how ChainedSelect works.
On a similar note, I wanted to know how I can use a Boolean field this way too, which triggers actions such as hide/unhide/set when I check or uncheck the boolean.
The text was updated successfully, but these errors were encountered:
Hi I too would like to know how to listen to select event in the "SelectField" component.
I would like to call the server with the selected value.
`{
name: "selectField",
component: "SelectField",
label: "SelectField",
help: "Example help",
required: true,
blankString: "None",
options: [
{ value: "red", label: "Red" },
{ value: "green", label: "Green" },
{ value: "blue", label: "Blue" }
],
listeners: [
{
event: "selectField",
actions: [
{
component: "MyAction",
message: "Thanks for the Change Selecting message"
},
{
component: "Set",
name: "fields.phone.value",
value: "onchange"
}
]
}
]
}`
I've noticed that the built-in ChainedSelect lets us open more selectors based on dropdown selections. How can I open up a custom component (or any other component except another selector) based on the option I've selected? I would like to open/unhide another component the moment the selection is made, just like how ChainedSelect works.
On a similar note, I wanted to know how I can use a Boolean field this way too, which triggers actions such as hide/unhide/set when I check or uncheck the boolean.
The text was updated successfully, but these errors were encountered: