diff --git a/app/helpers/tailwind_form_builder.rb b/app/helpers/tailwind_form_builder.rb index f86b535..de21a4c 100644 --- a/app/helpers/tailwind_form_builder.rb +++ b/app/helpers/tailwind_form_builder.rb @@ -105,7 +105,7 @@ def right_indicator_field(attribute, options = {}) def text_area(attribute, options = {}) @template.tag.div(class: "w-full sm:w-full py-2") do @template.label_tag(tr(options[:label] || attribute), nil) + - super(attribute, options.reverse_merge(class: "block w-full rounded-md border-0 py-1.5 bg-muted text-gray-900 shadow-sm ring-1 ring-inset ring-subtle placeholder:text-subtle focus:ring-2 focus:ring-inset focus:ring-brand-600 sm:text-sm sm:leading-6")) + + super(attribute, options.reverse_merge(class: "")) + field_details(attribute, object, options) end end