Skip to content
New issue

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

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

Already on GitHub? # to your account

[MdDatepicker] Multiple Vue Warn Messages #1437

Closed
sl-digital opened this issue Jan 24, 2018 · 3 comments
Closed

[MdDatepicker] Multiple Vue Warn Messages #1437

sl-digital opened this issue Jan 24, 2018 · 3 comments

Comments

@sl-digital
Copy link

Steps to reproduce

using "vue-material" : "1.0.0-beta-7"

  1. Import and use MdDatepicker with defaults in Vue template.
  2. Build in Webpack and load page.
  3. On click MdDatepicker opens with multiple console errors

Which browser?

All browsers tested except Firefox where the Datepicker defaults to the system.

What is expected?

No console errors.

What is actually happening?

[Vue warn]: Invalid prop: type check failed for prop "mdDate". Expected Date, got String.
[Vue warn]: Duplicate keys detected: '1'. This may cause an update error.

@Samuell1
Copy link
Member

  1. Dont use string use null as empty value.
  2. Duplicate of [MdDatepicker] Error on open #1376

@sl-digital
Copy link
Author

Where is the fix from #1376?

@Samuell1
Copy link
Member

@sl-digital in dev branch

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants