You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(pie-radio): DSW-2307 add basic component functionality
* Writing some tests
* Changes from self-review
* Changes from peer review
* Make value prop required
* Update tests and storybook with value prop being required
* Changes from peer review
description: 'The default checked state of the radio (not necessarily the same as the current checked state). Used when the radio is part of a form that is reset.',
35
+
control: 'boolean',
36
+
defaultValue: {
37
+
summary: defaultArgs.defaultChecked,
38
+
},
39
+
},
40
+
41
+
disabled: {
42
+
description: 'Same as the HTML disabled attribute - indicates whether or not the radio is disabled.',
43
+
control: 'boolean',
44
+
defaultValue: {
45
+
summary: defaultArgs.disabled,
46
+
},
47
+
},
48
+
49
+
name: {
50
+
description: 'The name of the radio (used as a key/value pair with `value`). This is required in order to work properly with forms.',
51
+
control: 'text',
52
+
defaultValue: {
53
+
summary: defaultArgs.name,
54
+
},
55
+
},
56
+
57
+
required: {
58
+
description: 'Same as native required attribute. If any radio button in a same-named group of radio buttons has the required attribute, a radio button in that group must be checked, although it doesn\'t have to be the one with the attribute applied.',
59
+
control: 'boolean',
60
+
defaultValue: {
61
+
summary: defaultArgs.required,
62
+
},
63
+
},
64
+
65
+
slot: {
66
+
description: 'Content to set as the radio label.',
67
+
control: 'text',
68
+
},
69
+
70
+
value: {
71
+
description: 'The value of the radio (used as a key/value pair in HTML forms with `name`).',
0 commit comments