Custom displayed characters for tokens in format prop #1140
christiankozalla
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I use the DatePicker component I am using the format prop to tell FormKit how the date is inserted by the user - e.g.
format="DD.MM.YYYY"
The tokens are displayed in the DatePicker input, but my use-case requires a localization/customization of the displayed characters into: "TT.MM.JJJJ"
I would be nice to have a way of customizing the displayed characters used as tokens. Are other components also affected by this issue and might benefit from a solution?
I'd be happy to contribute a PR after we have sorted out how this may be implemented.
Thank you very much!
Formkit Playground
Beta Was this translation helpful? Give feedback.
All reactions