diff options
Diffstat (limited to 'tpl/objects/text-field.pug')
-rw-r--r-- | tpl/objects/text-field.pug | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tpl/objects/text-field.pug b/tpl/objects/text-field.pug index 895770d..f8e5263 100644 --- a/tpl/objects/text-field.pug +++ b/tpl/objects/text-field.pug | |||
@@ -24,7 +24,11 @@ mixin text-field | |||
24 | 24 | ||
25 | const attr = { | 25 | const attr = { |
26 | placeholder: attributes.placeholder, | 26 | placeholder: attributes.placeholder, |
27 | disabled: attributes.disabled | 27 | disabled: attributes.disabled, |
28 | readonly: attributes.readonly, | ||
29 | pattern: attributes.pattern, | ||
30 | required: attributes.required, | ||
31 | value: attributes.value, | ||
28 | } | 32 | } |
29 | 33 | ||
30 | div(class=classes aria-disabled=attributes.disabled && String(attributes.disabled)) | 34 | div(class=classes aria-disabled=attributes.disabled && String(attributes.disabled)) |