Skip to content

Commit

Permalink
style: fix read-only styling
Browse files Browse the repository at this point in the history
  • Loading branch information
dackmin committed Feb 18, 2019
1 parent 48a8f0b commit c423351
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/DateField.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ class DateField extends React.Component {
'theme-' + theme,
{
native,
disabled: disabled || readOnly,
disabled,
opened,
required,
boxed,
Expand Down
2 changes: 1 addition & 1 deletion src/TagsField.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ class TagsField extends React.Component {
'theme-' + theme,
{
focused,
disabled: disabled || readOnly,
disabled,
required,
boxed,
dirty: input || value?.length,
Expand Down
2 changes: 1 addition & 1 deletion src/TextField.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class TextField extends React.Component {
{
focused,
dirty,
disabled: disabled || readOnly,
disabled,
required,
boxed,
invalid: !valid,
Expand Down

0 comments on commit c423351

Please sign in to comment.