app/components/avo/fields/select_field/edit_component.html.erb in avo-2.21.0 vs app/components/avo/fields/select_field/edit_component.html.erb in avo-2.21.1.pre.issue1444
- old
+ new
@@ -5,10 +5,10 @@
aria: {
placeholder: @field.placeholder
},
class: classes("w-full"),
data: @field.get_html(:data, view: view, element: :input),
- disabled: disabled?,
+ disabled: @field.is_readonly?,
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 %>