You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And streamline and document their behavior, which is currently spread in many places.
Currently, only the 'radio' input of the 'question' widget supports a custom choice and value, through the 'customPath, 'customChoice', customLabel' and 'addCustom' fields. But the customPath is used and sent to many functions, un-necessarily. There's a a lot of code associated with it and it's not certain that it really still works (and how!)
1- Should we support the custom value with other widgets? (for example, select, checkbox, etc)
2- Document the 4 parameters involved in the behavior and add tests for them
3- Make sure the widgets send the correct data and it is properly handled by the widget preparation function.
The text was updated successfully, but these errors were encountered:
Also, the widget preparation function uses a customDefaultValue that is not defined for any widgets. Is it needed? If so, we need to define it in the configs
@tahini
We sometimes use defaultValue, for example, when we hide some questions but know what the answer would be. However, I don't remember using customDefaultValue anywhere.
And streamline and document their behavior, which is currently spread in many places.
Currently, only the 'radio' input of the 'question' widget supports a custom choice and value, through the 'customPath, 'customChoice', customLabel' and 'addCustom' fields. But the customPath is used and sent to many functions, un-necessarily. There's a a lot of code associated with it and it's not certain that it really still works (and how!)
1- Should we support the custom value with other widgets? (for example, select, checkbox, etc)
2- Document the 4 parameters involved in the behavior and add tests for them
3- Make sure the widgets send the correct data and it is properly handled by the widget preparation function.
The text was updated successfully, but these errors were encountered: