fix(sentry#6013588148): allowing recasting from drop_down_list to multiple_drop_down_list raises due to call to .selected_options
This commit is contained in:
parent
1b188f65b0
commit
d66487138f
1 changed files with 1 additions and 1 deletions
|
@ -763,7 +763,7 @@ class TypeDeChamp < ApplicationRecord
|
|||
when ['integer_number', 'decimal_number'], # recast numbers automatically
|
||||
['decimal_number', 'integer_number'], # may lose some data, but who cares ?
|
||||
['text', 'textarea'], # allow short text to long text
|
||||
['drop_down_list', 'multiple_drop_down_list'], # single list can become multi
|
||||
# ['drop_down_list', 'multiple_drop_down_list'], # single list can become multi
|
||||
['date', 'datetime'], # date <=> datetime
|
||||
['datetime', 'date'] # may lose some data, but who cares ?
|
||||
true
|
||||
|
|
Loading…
Reference in a new issue