mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46: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
2
types/RadioButton/RadioButton.svelte.d.ts
vendored
2
types/RadioButton/RadioButton.svelte.d.ts
vendored
|
@ -54,7 +54,7 @@ export interface RadioButtonProps extends RestProps {
|
|||
|
||||
/**
|
||||
* Specify a name attribute for the radio button input
|
||||
* @default ""
|
||||
* @default undefined
|
||||
*/
|
||||
name?: string;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue