Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Changed incorrect readonly prop of Input by right one: readOnly #348

Merged
merged 1 commit into from
Oct 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/Input.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down