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:
parent
85315f88dc
commit
fcd49d7135
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ class CoreWorkflow::Attributes
|
||||||
end
|
end
|
||||||
|
|
||||||
def attribute_options_relation?(attribute)
|
def attribute_options_relation?(attribute)
|
||||||
attribute[:relation].present?
|
attribute[:tag] == 'select' && attribute[:relation].present?
|
||||||
end
|
end
|
||||||
|
|
||||||
def values(attribute)
|
def values(attribute)
|
||||||
|
|
Loading…
Reference in a new issue