Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set the language of the Date Picker to Chinese? #4268

Open
wshu-oli opened this issue May 13, 2024 · 2 comments
Open

How to set the language of the Date Picker to Chinese? #4268

wshu-oli opened this issue May 13, 2024 · 2 comments
Labels
docs packages/docs

Comments

@wshu-oli
Copy link

How to set the language of the Date Picker to Chinese?
i try to set lang but fail,can not find answer in doc;my code:
<div class="flex gap-4 flex-col sm:flex-row w-full"> <VaDateInput v-model="dateValue" :readonly="false" lang="zh-CN" xml:lang="zh-CN" /> </div>

@wshu-oli wshu-oli added the docs packages/docs label May 13, 2024
@m0ksem
Copy link
Contributor

m0ksem commented May 13, 2024

Hi. There is no lang property. You can customize Date Picker via props and slots.

Here is an example: https://ui.vuestic.dev/ui-elements/date-picker#slots

@wshu-oli
Copy link
Author

Got it, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs packages/docs
Projects
None yet
Development

No branches or pull requests

2 participants