Skip to content

Commit

Permalink
fix(ui): fix QOptionGroup options type (fix: #17710)
Browse files Browse the repository at this point in the history
to respect option-label and option-value props
  • Loading branch information
yusufkandemir committed Jan 14, 2025
1 parent 3faa256 commit 93b6c79
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions ui/src/components/option-group/QOptionGroup.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,6 @@
"desc": "Array of objects with value, label, and disable (optional) props. The binary components will be created according to this array; Props from QToggle, QCheckbox or QRadio can also be added as key/value pairs to control the components singularly",
"default": "[]",
"definition": {
"label": {
"type": "String",
"desc": "Label to display along the component",
"required": true,
"examples": [ "'Option 1'", "'Option 2'", "'Option 3'" ]
},
"value": {
"type": "Any",
"desc": "Value of the option that will be used by the component model",
"required": true,
"examples": [ "'op1'", "'op2'", "'op3'" ]
},
"disable": {
"type": "Boolean",
"desc": "If true, the option will be disabled"
},
"...props": {
"type": "Any",
"desc": "Any other props from QToggle, QCheckbox, or QRadio",
Expand Down

0 comments on commit 93b6c79

Please sign in to comment.