We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd858e7 commit 14ae549Copy full SHA for 14ae549
docs/index.md
@@ -718,6 +718,22 @@ As an object:
718
}
719
```
720
721
+The *select* can also take an optional `group` property in its `titleMap` that adds `<optgroup>`
722
+element to the select.
723
+
724
+```javascript
725
+{
726
+ type: "select",
727
+ titleMap: [
728
+ { value: "yes", name: "Yes I do", group: "Boolean" },
729
+ { value: "no", name: "Hell no" , group: "Boolean" },
730
+ { value: "no", name: "File Not Found", group: "Other" },
731
+ ]
732
+}
733
+```
734
735
736
737
### actions
738
739
*actions* behaves the same as fieldset, but can only handle buttons as chidren.
0 commit comments