Skip to content

Conversation

@scottnoidea
Copy link

@scottnoidea scottnoidea commented Oct 13, 2025

Description

Added a defaultInput prop to the DateInput component, allowing the default selected date to be specified as the start or end of the range. Current behaviour is the start of the range.

This addresses my use case of having a Daily Report page (single date only), with the user able to pick from a range of dates to see the report for that day. I want the default to be the latest date in the query, rather than the first date as is the current behaviour.

This is my first contrib - happy for any feedback on this, thanks.

Checklist

  • For UI or styling changes, I have added a screenshot or gif showing before & after
  • I have added a changeset
  • I have added to the docs where applicable
  • I have added to the VS Code extension where applicable

@scottnoidea scottnoidea had a problem deploying to Approval required to run action on external PR October 13, 2025 00:04 — with GitHub Actions Failure
@scottnoidea scottnoidea had a problem deploying to Approval required to run action on external PR October 13, 2025 00:04 — with GitHub Actions Failure
@hughess hughess changed the base branch from next to main November 2, 2025 23:19
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