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

[V3] Number field not showing value when value is 0 #3940

Closed
spacedawwwg opened this issue Dec 8, 2022 · 2 comments
Closed

[V3] Number field not showing value when value is 0 #3940

spacedawwwg opened this issue Dec 8, 2022 · 2 comments

Comments

@spacedawwwg
Copy link
Contributor

spacedawwwg commented Dec 8, 2022

Describe the bug

Number field not showing when value is 0

It also seems orderings are broken on the same field values

To Reproduce

Steps to reproduce the behavior:

add a number field, set value as 0 - look at it in v2 and v3 studios

try adding an orderings on the number fields

Expected behavior

expect be be able to see the number fields

expect to be able to sort document list by number fields

Screenshots
V2
image

V3
image

Which versions of Sanity are you using?

@sanity/cli (global) 3.0.6 (up to date)
@sanity/eslint-config-studio 2.0.1 (up to date)
@sanity/ui 1.0.1 (up to date)
@sanity/vision 3.0.6 (up to date)
sanity 3.0.6 (up to date)

What operating system are you using?

macOS Version 13.0.1

Which versions of Node.js / npm are you running?

8.19.2
v16.18.1

@spacedawwwg spacedawwwg changed the title Number field not showing when value is 0 V3: Number field not showing when value is 0 Dec 8, 2022
@spacedawwwg spacedawwwg changed the title V3: Number field not showing when value is 0 V3: Number field not showing value when value is 0 Dec 8, 2022
@spacedawwwg spacedawwwg changed the title V3: Number field not showing value when value is 0 [V3] Number field not showing value when value is 0 Dec 8, 2022
@mariuslundgard
Copy link
Member

Thanks for reporting @spacedawwwg – the fix will be included in the next release

@github-actions
Copy link
Contributor

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants