app/components/avo/fields/select_field/edit_component.html.erb in avo-2.21.1.pre.pr1476 vs app/components/avo/fields/select_field/edit_component.html.erb in avo-2.21.1.pre.pr1484
- old
+ new
@@ -5,10 +5,10 @@
aria: {
placeholder: @field.placeholder
},
class: classes("w-full"),
data: @field.get_html(:data, view: view, element: :input),
- disabled: @field.is_readonly?,
+ disabled: disabled?,
style: @field.get_html(:style, view: view, element: :input),
value: @field.model.present? ? @field.model[@field.id] : @field.value,
placeholder: @field.include_blank.present? ? nil : @field.placeholder
%>
<% end %>