Add required prop to RadioButton.

Fixes #1034.
This commit is contained in:
Harald Brunner 2022-01-22 18:00:58 +01:00
commit c5d6ad8e7c
4 changed files with 39 additions and 17 deletions

View file

@ -8579,7 +8579,18 @@
{
"name": "disabled",
"kind": "let",
"description": "et to `true` to disable the radio button",
"description": "Set to `true` to disable the radio button",
"type": "boolean",
"value": "false",
"isFunction": false,
"isFunctionDeclaration": false,
"constant": false,
"reactive": false
},
{
"name": "required",
"kind": "let",
"description": "Set to `true` to mark the field as required",
"type": "boolean",
"value": "false",
"isFunction": false,
@ -8634,7 +8645,7 @@
{
"name": "name",
"kind": "let",
"description": "Specify a name attribute for the checkbox input",
"description": "Specify a name attribute for the radio button input",
"type": "string",
"value": "\"\"",
"isFunction": false,