app/components/avo/fields/country_field/edit_component.html.erb in avo-2.13.2.pre.2 vs app/components/avo/fields/country_field/edit_component.html.erb in avo-2.13.3.pre.1
- old
+ new
@@ -6,10 +6,10 @@
aria: {
placeholder: @field.placeholder
},
class: classes("w-full"),
data: @field.get_html(:data, view: view, element: :input),
- disabled: @field.readonly,
+ disabled: @field.is_readonly?,
style: @field.get_html(:style, view: view, element: :input),
placeholder: @field.include_blank.present? ? nil : @field.placeholder
%>
<% end %>