app/components/avo/fields/trix_field/edit_component.html.erb in avo-2.21.1.pre.pr1476 vs app/components/avo/fields/trix_field/edit_component.html.erb in avo-2.21.1.pre.pr1484
- old
+ new
@@ -23,10 +23,10 @@
<%== @field.value %>
<% end %>
<%= @form.text_area @field.id,
class: classes("w-full hidden"),
data: @field.get_html(:data, view: view, element: :input),
- disabled: @field.is_readonly?,
+ disabled: disabled?,
id: trix_id,
placeholder: @field.placeholder,
style: @field.get_html(:style, view: view, element: :input)
%>
<% end %>