-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Document number selector default #40028
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
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the documentation for the number selector to reflect its new conditional default behavior.
- Change the default value description to show it depends on whether
min
andmax
are set.
Comments suppressed due to low confidence (1)
source/_docs/blueprint/selectors.markdown:1142
- [nitpick] Consider clarifying this conditional default description for better readability. For example: "default: slider if both
min
andmax
are set; otherwise, box."
default: slider if min and max set, else box
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @balloob 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
min/max have required: true
. should we set them to false
?
Proposed change
Document new default behavior for number selector.
Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
current
branch.next
branch.