Field template override : width #11660
breizhwave
started this conversation in
General
Replies: 1 comment
-
I don't see any |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have overriden field template, but the width parameter is not working, any idea
<input
type="{{ input_type ?? 'text' }}"
name="{{ handle }}"
value="{{ value }}"
class="w-full px-2 py-1 border-2 border-gray-300 rounded-md outline-none hover:border-gray-600 transition-all placeholder:text-gray-800 focus:border-gray-600"
{{ if placeholder }}placeholder="{{ placeholder }}"{{ /if }}
{{ if character_limit }}maxlength="{{ character_limit }}"{{ /if }}
{{ if js_driver }}{{ js_attributes }}{{ /if }}
{{ if validate|contains:required }}required{{ /if }}
Beta Was this translation helpful? Give feedback.
All reactions