[Ticket cloned from T2796: Passing the context to SurveyJS from an existing React code]
By the way, I am also looking for a way to change the number format. Let's say if the user has input 123456
in the control of type number
, I might want to display it as 123,456
or 1,23,456
. I tried changing this format using survey.getQuestionByValueName("QUESTION_NAME").displayValue = "123,456";
but it is not working as expected. How can I change the formatting for such controls?