surveyjs / survey-creator

Scalable open-source survey software to generate dynamic JSON-driven forms within your JavaScript application. The form builder features a drag-and-drop UI, CSS Theme Editor, and GUI for conditional logic and form branching.
https://surveyjs.io/open-source
Other
923 stars 377 forks source link

A choice value that equals 0 is not displayed in the Translation tab #4242

Closed JaneSjs closed 1 year ago

JaneSjs commented 1 year ago

User Issue: T13513 - Translation Problem https://surveyjs.answerdesk.io/internal/ticket/details/T13513


To reproduce the issue, run the Pizza Order demo in a Survey Creator: https://surveyjs.io/form-library/examples/pizza-order-form/reactjs

Activate the Translation tab, and notice that the 0 | Small choice is not available for translation: image

andrewtelnov commented 1 year ago

@JaneSjs The fix is made in library. Here is the related issue. I have added couple unit tests. They will work on merging the fix in the library into master.