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 494239b commit b02a6eeCopy full SHA for b02a6ee
src/components/form-input/form-input.js
@@ -38,7 +38,7 @@ export default {
38
type: this.localType,
39
disabled: this.disabled,
40
required: this.required,
41
- readonly: this.readonly || this.plaintext,
+ readonly: this.readonly || (this.plaintext && this.readonly === null),
42
placeholder: this.placeholder,
43
autocomplete: this.autocomplete || null,
44
'aria-required': this.required ? 'true' : null,
@@ -66,7 +66,7 @@ export default {
66
},
67
readonly: {
68
type: Boolean,
69
- default: false
+ default: null
70
71
plaintext: {
72
0 commit comments