-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
False
-
-
False
-
-
This will be addition on top of the "mandatory" values for the ActiveMultiSelect widget.
Request:
```
Is it possible to have default values selected for "ActiveMultiSelect" widget, I am trying to use this configuration to load existing groups for "update" actions, I am getting the list, however those are not selected by default."type": "string",
"ui:widget": "ActiveMultiSelect"
"ui:props": {
"fetch:url": "$${{backend.baseUrl/api/ford-proxy/cldctl-prod/api/v1/rendersolution",}}
"fetch:method": "POST",
"fetch:body": {
"action": "$${{current.select_action.action",}}
"beta": false,
"solutionName": "app-registration",
},
"fetch:response:value": "renderedMappings._.data.profiles.defaultAdministratorsGroup",
"fetch:response:autocomplete": "renderedMappings._.data.profiles.defaultAdministratorsGroup"
}
```
Resolution:
```
The JSON selector for a default value (so the value until the user performs any change) will be: "fetch:response:value".
If "fetch:response:value" and "fetch:response:mandatory" are used together, the initial pre-selected values will consist of a union of those two and the "mandatory" options can not be unselected.
```