diff --git a/app/views/fields/select/_form.html.erb b/app/views/fields/select/_form.html.erb index 3accbc7237..4ccf874644 100644 --- a/app/views/fields/select/_form.html.erb +++ b/app/views/fields/select/_form.html.erb @@ -21,6 +21,11 @@ to be displayed on a resource's edit form page.
<%= f.select( field.attribute, - options_from_collection_for_select(field.selectable_options, :to_s, :to_s) + options_from_collection_for_select( + field.selectable_options, + :to_s, + :to_s, + field.data.presence, + ) ) %>