The expression-related settings (defaultValueExpression
, resetValueExpression
, setValueExpression
) are preserved when an Expression field is converted from another question
#6641
Labels
T22023 - Possible bug in survey creator
https://surveyjs.answerdesk.io/internal/ticket/details/T22023
Consider the following survey JSON:
The
targetQuestion
contains various expression-related settings. If you convert this question to Expression, these settings are preserved:The full survey JSON:
However, the Expression field expects that it's
expression
is defined rather than those expression settings. If you define theexpression
property value, thoseexpression
-related settings have no effect.A full JSON:
In the original ticket, a user expects that
defaultValueExpression
is reset when an Expression field is being converted from another question type.The text was updated successfully, but these errors were encountered: