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

datetime بایند کردن فیلدهایی از نوع #128

Closed
naderi4 opened this issue Oct 21, 2020 · 1 comment
Closed

datetime بایند کردن فیلدهایی از نوع #128

naderi4 opened this issue Oct 21, 2020 · 1 comment

Comments

@naderi4
Copy link

naderi4 commented Oct 21, 2020

سلام و خسته نباشید
موقعه بایند کردن مقادیر تاریخ به صورت متنی مشکلی نیست
خطا میده datetime ولی موقعه بایند کردن مقادیر

<date-picker v-model="item.birthDate" display-format="jYYYY/jMM/jDD" />

لایبرری
typeorem
بانک اطلاعاتی
sqlite
مشخصات فیلد
birthDate?: Date;

خطا:
[Vue warn]: Invalid prop: type check failed for prop "value". Expected Number, String, got Date
found in
--->

@talkhabi
Copy link
Owner

سلام این مشکل رفع شد
به اینصورت استفاده کنید:

<date-picker v-model="item.birthDate" display-format="jYYYY/jMM/jDD" format="date" />

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

No branches or pull requests

2 participants