-
-
Notifications
You must be signed in to change notification settings - Fork 282
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
Nutritional values: allow to input an empty value #4745
Comments
@g123k What if we just replaced the With that we could get rid of your eye icon (that I find not intuitive and which takes space), while possibly keeping your warning message. |
@g123k could you please assign this issue to me. I would like to work on it. |
There is a difference between
This slight difference requires the "eye" to distinguish the 2 possible values.
Before doing that, please wait, we have a pending discussion. |
@g123k I do understand the difference between |
The problem is that we have to face many cases. That's why having this ability and to be inline with the website, it would be better. |
@g123k The thing is that we don't need to display |
Honestly, I'm okay with @g123k's design. It has the merit of being unambiguous, unlike the server side solution: One day we might revisit it, but it has at least the merit to appease people who asked about it. |
As we are now sure of the design, @Azad99-9, do you still want to implement it? 😀 |
Hi everyone,
When we edit the nutritional values of a product, we only have access to digits.
However, when there is no value on a product (eg: for fibers), many users input
0
, which is incorrect.On the server, we have to pass a
-
value in that case, but is not available on all keyboards (especially on iOS).To make things clearer:
No data
should be displayed and the server must receive a-
value0
value is incorrect.Screenshot:
The text was updated successfully, but these errors were encountered: