Skip to content

Docs: add a datepicker example with the icon at the end - #43144

Merged
julien-deramond merged 1 commit into
mainfrom
v6-jd-docs-datepicker-icon-end
Oct 21, 2026
Merged

julien-deramond merged 1 commit into
mainfrom
v6-jd-docs-datepicker-icon-end

Conversation

@julien-deramond

Copy link
Copy Markdown
Member

The "With icon" example on the datepicker page only shows the calendar icon at the start of the field, and #43141 asks for one with the icon at the end. This adds a second example right after it that uses .form-adorn-end on the wrapper, which moves the icon to the trailing side without changing the DOM order. Fixes #43141.

The existing example is left as it is, so both placements are documented and people can pick the one that matches their design. The calendar already positions itself against the .form-adorn wrapper, so nothing in the script or the Sass changes. On the local docs server, the icon sits at the end of the field and the calendar opens under it, aligned with its left edge, as in the first example.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@julien-deramond julien-deramond added docs Documentation site and its content v6 v6, the main branch html Component markup: elements, attributes, structure labels Oct 21, 2026
@github-project-automation github-project-automation Bot moved this to Inbox in v6.0.0 Oct 21, 2026
@julien-deramond
julien-deramond merged commit 4651e0d into main Oct 21, 2026
9 checks passed
@julien-deramond
julien-deramond deleted the v6-jd-docs-datepicker-icon-end branch October 21, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation site and its content html Component markup: elements, attributes, structure v6 v6, the main branch

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

v6 docs: datepicker with icon example

1 participant