Skip to content

examples: wire datetime + autocomplete in react-mui & vue-vuetify#30

Merged
ignsm merged 2 commits into
mainfrom
feat/examples-datetime-autocomplete
May 10, 2026
Merged

examples: wire datetime + autocomplete in react-mui & vue-vuetify#30
ignsm merged 2 commits into
mainfrom
feat/examples-datetime-autocomplete

Conversation

@ignsm
Copy link
Copy Markdown
Owner

@ignsm ignsm commented May 10, 2026

Adds copy-paste-ready integrations of the new field types in the two reference examples.

react-mui

  • New AutocompleteField.tsx using MUI's <Autocomplete>. Filters by label (so typing 'Virginia' actually finds 'US East (N. Virginia)'), enforces value-must-be-in-list.
  • TextField.tsx extended to handle 'datetime' via type="datetime-local" + label shrink.
  • component-map.ts registers both.
  • definition.json swaps country from select to autocomplete and adds a meetingTime datetime field.

vue-vuetify

  • New AutocompleteField.vue using Vuetify's <v-autocomplete>.
  • TextField.vue extended for 'datetime'.
  • Same component-map.ts + definition.json updates.

Both examples build clean (pnpm install --ignore-workspace && pnpm build in each example dir, matching CI). New devs can copy the field component as-is for their own design system, instead of guessing how to plug a third-party picker into components.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
formhaus Ready Ready Preview, Comment May 10, 2026 2:15pm

Request Review

@ignsm ignsm merged commit 566363e into main May 10, 2026
8 checks passed
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