We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e1f878 commit f3e04adCopy full SHA for f3e04ad
src/components/input/Textarea.js
@@ -175,7 +175,13 @@ Textarea.propTypes = {
175
]),
176
177
/**
178
- * Indicates whether this element is required to fill out or not.
+ * This attribute specifies that the user must fill in a value before
179
+ * submitting a form. It cannot be used when the type attribute is hidden,
180
+ * image, or a button type (submit, reset, or button). The :optional and
181
+ * :required CSS pseudo-classes will be applied to the field as appropriate.
182
+ * required is an HTML boolean attribute - it is enabled by a boolean or
183
+ * 'required'. Alternative capitalizations `REQUIRED`
184
+ * are also acccepted.
185
*/
186
required: PropTypes.oneOfType([
187
PropTypes.oneOf(['required', 'REQUIRED']),
0 commit comments