mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
- RadioButtonGroup values for name
/required
override those of RadioButton
- Fix reactivity when RadioButton is used without group - Use `readable` when writing is not required - Use `readonly` to make intent clearer. - Remove default values for `required` and `name` - More consistent with other input types - Means that `name` attribute will not be added for no reason
This commit is contained in:
parent
7be9e4ccfc
commit
a81328feef
7 changed files with 1528 additions and 1612 deletions
|
@ -18,13 +18,13 @@ export interface RadioButtonGroupProps extends RestProps {
|
|||
|
||||
/**
|
||||
* Set to `true` to require the selection of a radio button
|
||||
* @default false
|
||||
* @default undefined
|
||||
*/
|
||||
required?: boolean;
|
||||
|
||||
/**
|
||||
* Specify a name attribute for the radio button inputs
|
||||
* @default ""
|
||||
* @default undefined
|
||||
*/
|
||||
name?: string;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue