Maintenance: Make sure relation options will be only read for select fields, so it has no impact for auto_completion fields.

This commit is contained in:
Rolf Schmidt 2022-02-10 15:18:15 +00:00
parent 85315f88dc
commit fcd49d7135

View file

@ -213,7 +213,7 @@ class CoreWorkflow::Attributes
end
def attribute_options_relation?(attribute)
attribute[:relation].present?
attribute[:tag] == 'select' && attribute[:relation].present?
end
def values(attribute)