Skip to content

docs(ui): document Range browser-default bounds (#201)#212

Merged
linkdata merged 1 commit into
mainfrom
fix/document-range-bounds-201
Jul 22, 2026
Merged

docs(ui): document Range browser-default bounds (#201)#212
linkdata merged 1 commit into
mainfrom
fix/document-range-bounds-201

Conversation

@linkdata

Copy link
Copy Markdown
Owner

An HTML range input carries an implicit browser domain of min="0",
max="100", step="1". Range emits none of those attributes, so a bound
value outside that domain or off the step grid is silently clamped and
rounded by the browser and the adjusted value is echoed back through the
setter, overwriting server state.

Document this on NewRange and RequestWriter.Range, stating that callers
must supply explicit min/max/step attributes as params when the defaults
do not cover the bound value's domain, and add a test guarding that those
params render verbatim.
@linkdata
linkdata merged commit 83c8556 into main Jul 22, 2026
7 checks passed
@linkdata
linkdata deleted the fix/document-range-bounds-201 branch July 22, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant