Check selection of dict schema when selection or help selection are modified
It is the modification of stored field that must be checked and not the json version. Closes #12781 (grafted from 4f04e2409fad82de243439bac3128c1002d540ee) --HG-- branch : 7.0
This commit is contained in:
@@ -134,7 +134,7 @@ class DictSchemaMixin(object):
|
||||
@classmethod
|
||||
def check_selection(cls, schemas, field_names=None):
|
||||
if field_names and not (field_names & {
|
||||
'type_', 'selection_json', 'help_selection_json'}):
|
||||
'type_', 'selection', 'help_selection'}):
|
||||
return
|
||||
for schema in schemas:
|
||||
if schema.type_ not in {'selection', 'multiselection'}:
|
||||
|
||||
Reference in New Issue
Block a user