#3842 (React ChoiceListField (Dropdown) doesn't send value on submit)
by Luc Saffre · in Developers · assigned to Luc Saffre
Kurzbeschreibung
Kinder
Kommentare
- 5 Jahre, 11 Monate ago von tonis about #3842 (React ChoiceListField (Dropdown) doesn't send value on submit) : Glad you figured it out. :) yes that makes perfect sense.
- 5 Jahre, 11 Monate ago von 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 Jahre, 11 Monate ago von 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.