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

Adjust step documentation for NumberSelector #35650

Open
wants to merge 7 commits into
base: next
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion source/_docs/blueprint/selectors.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,11 @@ mode:
default: slider
{% endconfiguration %}

The output of this selector is a number, for example: `42`
The output of this selector is a number, for example: `42.59`

Please note that:
- if the step is a `float` (eg. `step=0.1` or `step=1.0`) the user input is never rounded.
- if the step is an `integer` (eg. `step=1`) passing a number with decimal precision will be rejected (eg. `80.0` will converted to `80` and `80.1` will be rejected).

### Example number selectors <!-- omit from toc -->

Expand Down