mirror of
https://github.com/pebble-dev/clay.git
synced 2026-08-27 20:36:33 -04:00
Allow optgroups for selects
This commit is contained in:
+8
-1
@@ -122,7 +122,14 @@ module.exports = [
|
||||
{ "label": "", "value": "" },
|
||||
{ "label": "Berry", "value": "berry" },
|
||||
{ "label": "This Option is Selected", "value": "grape" },
|
||||
{ "label": "Banana", "value": "banana" }
|
||||
{ "label": "Banana", "value": "banana" },
|
||||
{
|
||||
"label": "This is an optgroup",
|
||||
"value": [
|
||||
{ "label": "Peach", "value": "peach" },
|
||||
{ "label": "Mango", "value": "mango" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"attributes": {
|
||||
"required": "required"
|
||||
|
||||
Reference in New Issue
Block a user