Add required prop to RadioButton. (#1035)

Fixes #1034.
This commit is contained in:
brunnerh 2022-01-22 18:05:41 +01:00 committed by GitHub
commit 25ce57fd5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 39 additions and 17 deletions

View file

@ -8581,7 +8581,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,
@ -8636,7 +8647,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,