From fd385dd95ac24cc672e8b6eb756fec129ba356bd Mon Sep 17 00:00:00 2001 From: Abel 'Akronix' Serrano Juste Date: Fri, 26 Oct 2018 11:52:23 +0200 Subject: [PATCH] Changed incorrect readonly prop of Input by right one: readOnly --- src/components/Input.react.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Input.react.js b/src/components/Input.react.js index ff10a8c2a..4a7412c60 100644 --- a/src/components/Input.react.js +++ b/src/components/Input.react.js @@ -234,7 +234,7 @@ Input.propTypes = { /** * This attribute indicates that the user cannot modify the value of the control. The value of the attribute is irrelevant. If you need read-write access to the input value, do not add the "readonly" attribute. It is ignored if the value of the type attribute is hidden, range, color, checkbox, radio, file, or a button type (such as button or submit). */ - readonly: PropTypes.string, + readOnly: PropTypes.string, /** * This attribute specifies that the user must fill in a value before submitting a form. It cannot be used when the type attribute is hidden, image, or a button type (submit, reset, or button). The :optional and :required CSS pseudo-classes will be applied to the field as appropriate.