event.path error

web
mobile

Topic: event.path error

Philip Keiter asked 2 years ago

MdInput and MdTextArea use event.path, which is only supported in Chrome and gives errors in other browsers.
These are now fixed in the free version. The fixes also work in the pro version if you own it and want to try the fix early before fixed in the next pro release: https://github.com/mdbootstrap/Vue-Bootstrap-with-Material-Design/blob/master/src/components/MdInput.vue https://github.com/mdbootstrap/Vue-Bootstrap-with-Material-Design/blob/master/src/components/MdTextarea.vue Basically just accessing the components using $refs now instead of through e.path[0] (If you are not a programmer don't try it yourself, wait for the next release)

Mikołaj Smoleński staff commented 2 years ago

Thanks a lot! We've merged Your fixes with the github repo and we're going to add them also to the pro version. Regards

Mikołaj Smoleński staff answered 2 years ago

Hi Philip, Thanks again for Your remarks. We're still working on lots of improvements for MDB Vue and every note is very helpful for us. Regards
Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: Vue
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No