You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm updating active_scaffold from version 3.6.20 to 3.7.4, but I'm having an unexpected behavior on field_search where it tries to use what I've configured for the new/edit forms.
I saw in the changelog that it is a new feature, but it is not clear to me how can I disable it to restore the previous behavior. Is there a way?
Thanks!
The text was updated successfully, but these errors were encountered:
There is no setting right now, probably I should add a setting to field_search
You can override update_columns_options for now:
def update_columns_options(column, scope, options, force = false, url_params: {}, **)
if url_params&.dig(:form_action) == :field_search
options
else
super
end
end
As url_params are passed only from field search you can use it to skip adding options for update_columns in field_search
Hi, I'm updating active_scaffold from version 3.6.20 to 3.7.4, but I'm having an unexpected behavior on field_search where it tries to use what I've configured for the new/edit forms.
I saw in the changelog that it is a new feature, but it is not clear to me how can I disable it to restore the previous behavior. Is there a way?
Thanks!
The text was updated successfully, but these errors were encountered: