Topic: [Vue warn]: Invalid prop: type check failed for prop "data". Expected Object, String, got Array

jay2jam pro asked 5 years ago


Hello,

we have a lot of warnings and we can't assign them.

Datatable, MdbInput, Select

[Vue warn]: Invalid prop: type check failed for prop "data". Expected Object, String, got 
Array

 <MdbInput> at node_modules/mdbvue/src/components/Input.vue

 <Select> at node_modules/mdbvue/src/components/pro/Select.vue

 <Datatable> at node_modules/mdb-table-editor/src/components/Datatable.vue

Mikołaj Smoleński staff answered 5 years ago


Hi there,

Could You please share Your code? There is no data prop for Select or Input components.

Best regards



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 5.2.0
  • Device: MAC
  • Browser: CHROME
  • OS: Moave
  • Provided sample code: No
  • Provided link: No