Fields
State Selector Field
The State Selector Field allows for selecting a state of the current stub.
This can be used to select any of the available state selector with in a stub. The state selector is a type of Select Resource Field, a field that user to select items from dynamic resources.
Basic usage
Adds a state selector
field to the fields of as a Select Resource Field.
Result
The field will be displayed as a select field as below:
The resultant data will be available in the stubpost.data
as:
This can be substituted with eg. ~~stubpost.data.state_selector
where required.
Parameters
required string
params.resource_name The specific name of the resource you would like to load for selection. In this case, it should be states
.
optional
params.dataresourceinterfaceuuid optional
params.details.orgcredentialuuid See fields for common field parameters like validation and conditional rendering.