You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a few spinners that I initialise as undefined instead of a defined numeric value, since I don't want them to be defined by default. Some of them have min values <= 0 and one has a min value > 0. When they first show (and all have their initial values, so value = undefined), the spinners with a min <= 0 show the placeholder in grey. This is my desired behaviour. The spinner with a min > 0, however, shows its min value in black. This is not my desired behaviour and is inconsistent with the behaviour of the spinners whose min values <= 0. The spinner with a min > 0 should also show the placeholder in grey when it first shows if it is undefined. Please could you fix this: make all input spinners have the desired behaviour?
I have tested this setting min to 0, 0.0, -1, -1.0, getting the desired behaviour, and to +1, +1.0, +10, and +10.0, getting the undesired behaviour. The step value was always +0.1, the max value was always +100.0, and the type value was always "float". I made sure to set the emptied prop to true and that I was using version 1.4.8 of this package.
The text was updated successfully, but these errors were encountered:
Although I meant to use it for another issue, this video I recorded shows how when min > 0 and the value is initialised as undefined, the value is shown as the min instead of being empty and showing the placeholder (as well as some other undesired behaviour): #35 (comment)
The spinner in question still behaves like this even after resolving the issues I had updating this package to allow me to align spinners how I want to.
I have a few spinners that I initialise as undefined instead of a defined numeric value, since I don't want them to be defined by default. Some of them have min values <= 0 and one has a min value > 0. When they first show (and all have their initial values, so value = undefined), the spinners with a min <= 0 show the placeholder in grey. This is my desired behaviour. The spinner with a min > 0, however, shows its min value in black. This is not my desired behaviour and is inconsistent with the behaviour of the spinners whose min values <= 0. The spinner with a min > 0 should also show the placeholder in grey when it first shows if it is undefined. Please could you fix this: make all input spinners have the desired behaviour?
I have tested this setting min to 0, 0.0, -1, -1.0, getting the desired behaviour, and to +1, +1.0, +10, and +10.0, getting the undesired behaviour. The step value was always +0.1, the max value was always +100.0, and the type value was always "float". I made sure to set the emptied prop to true and that I was using version 1.4.8 of this package.
The text was updated successfully, but these errors were encountered: