From 69d753931c098bc18cd23e96af18f736a772f416 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 22 Jun 2024 23:00:16 +0200 Subject: Update --- tpl/objects/text-field.pug | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tpl/objects/text-field.pug') 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 const attr = { placeholder: attributes.placeholder, - disabled: attributes.disabled + disabled: attributes.disabled, + readonly: attributes.readonly, + pattern: attributes.pattern, + required: attributes.required, + value: attributes.value, } div(class=classes aria-disabled=attributes.disabled && String(attributes.disabled)) -- cgit v1.2.3-54-g00ecf