pick date
Set a native date input by label
Set a native <input type="date"> by label. Value must be ISO YYYY-MM-DD.
Syntax
When I pick date "<YYYY-MM-DD>" in "<label>"Qualifiers
| Qualifier | Role | Example |
|---|---|---|
in | Date field label | pick date "2026-06-15" in "Start date" |
Requirements
| Item | Contract |
|---|---|
| Element / control shape | Native <input type="date"> only |
| How the label binds | aria-label → label + date input → id (name in glob pools) |
| Qualifiers that change resolve | in = field label; date string must be ISO YYYY-MM-DD |
| Platform | Web |
| Wrong shape → use instead | Custom calendar widgets → not supported; use native date input or app test hooks / fill if applicable |
When it fails
- Clear failure when the control is not a native date input.
See also UI contracts.
Examples
When I pick date "2026-06-15" in "Start date"Notes
- v1 targets labeled native date inputs only. Custom calendar widgets fail with a clear message — use
fillor wait for a native input.