Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choices Batch Editor treats the 0 numeric value as a nullish value and displays an empty string #6716

Closed
JaneSjs opened this issue Mar 11, 2025 · 0 comments · Fixed by #6719
Assignees
Labels
bug user issue An issue or bug reported by users.

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Mar 11, 2025

T22234 - Adding onGetValue to property for itemvalue
https://surveyjs.answerdesk.io/internal/ticket/details/T22234


View Demo

import { Serializer } from "survey-core";
Serializer.addProperties("itemvalue", [
  {
    name: "score",
    type: "number",
    category: "general",
  },
]);

The fourth item has a 0 score:
Image

If you activate a choice batch editor, 0 doesn't appear in a list:

Image

Click Apply and notice that the 0 score is removed:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug user issue An issue or bug reported by users.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants