@@ -28,6 +28,7 @@ FormGroup.defaultProps = {
28
28
FormGroup . propTypes = {
29
29
children : PropTypes . oneOfType ( [ PropTypes . node , PropTypes . arrayOf ( PropTypes . node ) ] ) ,
30
30
feedback : PropTypes . bool ,
31
+ label : PropTypes . node . isRequired ,
31
32
mockInvalidSibling : PropTypes . bool ,
32
33
name : PropTypes . string . isRequired ,
33
34
} ;
@@ -44,6 +45,7 @@ FormGroupAutocomplete.propTypes = {
44
45
disabled : PropTypes . oneOfType ( [ PropTypes . bool , PropTypes . func ] ) ,
45
46
filter : PropTypes . func ,
46
47
id : PropTypes . string ,
48
+ label : PropTypes . node . isRequired ,
47
49
name : PropTypes . string . isRequired ,
48
50
onSearch : PropTypes . func ,
49
51
openOnFocus : PropTypes . bool ,
@@ -69,6 +71,7 @@ FormGroupCheckbox.propTypes = {
69
71
disabled : PropTypes . oneOfType ( [ PropTypes . bool , PropTypes . func ] ) ,
70
72
falseLabel : PropTypes . node ,
71
73
id : PropTypes . string . isRequired ,
74
+ label : PropTypes . node . isRequired ,
72
75
name : PropTypes . string . isRequired ,
73
76
required : PropTypes . oneOfType ( [ PropTypes . bool , PropTypes . func ] ) ,
74
77
trueLabel : PropTypes . node ,
@@ -85,6 +88,7 @@ export function FormGroupInput(props) {
85
88
FormGroupInput . propTypes = {
86
89
disabled : PropTypes . oneOfType ( [ PropTypes . bool , PropTypes . func ] ) ,
87
90
id : PropTypes . string ,
91
+ label : PropTypes . node . isRequired ,
88
92
max : PropTypes . string ,
89
93
maxLength : PropTypes . string ,
90
94
min : PropTypes . string ,
@@ -124,6 +128,7 @@ FormGroupRadio.propTypes = {
124
128
disabled : PropTypes . oneOfType ( [ PropTypes . bool , PropTypes . func ] ) ,
125
129
id : PropTypes . string ,
126
130
inline : PropTypes . bool ,
131
+ label : PropTypes . node . isRequired ,
127
132
name : PropTypes . string . isRequired ,
128
133
options : PropTypes . arrayOf (
129
134
PropTypes . shape ( {
@@ -145,6 +150,7 @@ export function FormGroupSelect(props) {
145
150
FormGroupSelect . propTypes = {
146
151
disabled : PropTypes . oneOfType ( [ PropTypes . bool , PropTypes . func ] ) ,
147
152
id : PropTypes . string ,
153
+ label : PropTypes . node . isRequired ,
148
154
name : PropTypes . string . isRequired ,
149
155
options : PropTypes . oneOfType ( [
150
156
PropTypes . func ,
@@ -176,6 +182,7 @@ FormGroupSwitch.propTypes = {
176
182
disabled : PropTypes . oneOfType ( [ PropTypes . bool , PropTypes . func ] ) ,
177
183
falseLabel : PropTypes . node ,
178
184
id : PropTypes . string . isRequired ,
185
+ label : PropTypes . node . isRequired ,
179
186
name : PropTypes . string . isRequired ,
180
187
required : PropTypes . oneOfType ( [ PropTypes . bool , PropTypes . func ] ) ,
181
188
trueLabel : PropTypes . node ,
@@ -192,6 +199,7 @@ export function FormGroupTextarea(props) {
192
199
FormGroupTextarea . propTypes = {
193
200
disabled : PropTypes . oneOfType ( [ PropTypes . bool , PropTypes . func ] ) ,
194
201
id : PropTypes . string ,
202
+ label : PropTypes . node . isRequired ,
195
203
name : PropTypes . string . isRequired ,
196
204
placeholder : PropTypes . string ,
197
205
readOnly : PropTypes . bool ,
0 commit comments