fix(logic): we need to expose raw typed values for champs
This commit is contained in:
parent
5024b5b549
commit
94b06cb50f
1 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,8 @@ class Logic::ChampValue < Logic::Term
|
|||
"Champs::CheckboxChamp"
|
||||
targeted_champ.true?
|
||||
when "Champs::IntegerNumberChamp", "Champs::DecimalNumberChamp"
|
||||
targeted_champ.for_api
|
||||
# TODO expose raw typed value of champs
|
||||
targeted_champ.type_de_champ.champ_value_for_api(targeted_champ, version: 1)
|
||||
when "Champs::DropDownListChamp"
|
||||
targeted_champ.selected
|
||||
when "Champs::MultipleDropDownListChamp"
|
||||
|
|
Loading…
Reference in a new issue