Skip to content

Feedback: Zero value shouldn't be treated as empty field #845

@ngdangtu-vn

Description

@ngdangtu-vn

image

When I set 0 to number field, it always treats as empty field. And if that field is required, it will reporting error. I don't think it is good design because in many cases, 0 has meaning. I suggest we should treat 0 like other digits and null/undefined as an empty field.

Info:

  • framework: Astro 4.15.1
     experimental: {
        contentLayer: true,
        contentIntellisense: true,
     },
    
  • os: Linux
  • vscode: 1.92.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    In BETAThe current task is available for testing in the BETA version.v10.4.0Project: v10.4.0

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions