#3842 (React ChoiceListField (Dropdown) doesn't send value on submit)
by Luc Saffre · in Developers · assigned to Luc Saffre
Résumé
Concepts sous-jacents
Commentaires
- 5 ans, 11 mois ago by tonis about #3842 (React ChoiceListField (Dropdown) doesn't send value on submit) : Glad you figured it out. :) yes that makes perfect sense.
- 5 ans, 11 mois ago by Luc Saffre about #3842 (React ChoiceListField (Dropdown) doesn't send value on submit) : After looking at the <Dropdown> config from the version that is on froinde (where it was still working), I realized that onChange must update both the foo and the fooHidden props. Obvious... now that I found it...
- 5 ans, 11 mois ago by Luc Saffre about #3842 (React ChoiceListField (Dropdown) doesn't send value on submit) : Still trying to understand. The onChange callback of Dropdown seems to store the value into detail_type instead of detail_typeHidden.