saas-js/saas-ui

Date (Range) Pickers | Enable input field to trigger dialogue too (syncing values between input and dialogue)

Aberta

#183 aberto em 18 de dez. de 2023

 (3 comentários) (0 reação) (1 responsável)TypeScript (171 forks)github user discovery
Plannedhelp wanted

Métricas do repositório

Stars
 (1.645 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

https://saas-ui.dev/docs/components/date-time/date-input vs https://saas-ui.dev/docs/components/date-time/date-picker

Make it possible to combine trigger & input so you can have a date form field that triggers the opening of the dialogue not only on click of the calendar icon but also on click of the form field itself for better usability (i.e enable both keyboard entry as well as comfy entry). If we have to implement it by ourselves, we have to create our component to keep the calendar and input in sync so even though we don't want to, we'll go with the trigger/button variant for now.

UX could be similar to

(haven't checked the code of those packages though)

Guia do colaborador