[core] Bypass validation on values for ChoiceParams

This commit is contained in:
Aurore LAFAURIE 2024-04-08 11:30:16 +02:00
parent c27281c9c1
commit eda320374b
2 changed files with 4 additions and 6 deletions

View file

@ -410,7 +410,7 @@ class ChoiceParam(Attribute):
def conformValue(self, val):
""" Conform 'val' to the correct type and check for its validity """
return self.desc._valueType(val)
return self.desc.conformValue(val)
def validateValue(self, value):
if self.desc.exclusive: