Closed
Description
Scope: PF4 mapper
Description
Currently within the Select component it does not appear possible to create option groups. There is support for the Select component within PF4 along with Groups however. It would be great to be able to provide a schema like the one below to support this feature.
Proposed Schema
const schema = {
fields: [
{
"component": "select",
"label": "Select Option",
"name": "Option",
"simpleValue": true,
"isGroup": true,
"options": [{
group: "Lots of Placeholders",
options: [
{
"label": "Placeholder1",
"value": "Placeholder1"
},
{
"label": "Placeholder2",
"value": "Placeholder2"
},
]
}]
}
]
};