Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Laravel integration

spafinder pro asked 6 years ago


Hello,I have purchased a pro version and use it with Laravel PHP framework.I was able to add mdbvue-pro package via npm and added following lines to my bootstrap.js
require('mdbvue-pro')import 'bootstrap/dist/css/bootstrap.css'import 'mdbvue-pro/build/css/mdb.css'
Everything work ok, although I have a problem with select
<select class="mdb-select">
tag.It looks like it requires jQuery to render:
$('.mdb-select').material_select();
which I execute in VUE on mounted() method. It renders OK then, but it does not look like v-model attribution works properly and selected option is not being submitted with the form.I could not find relevant documentation for integration with VUE package. Could you please provide me information on how the <select> should be implemented with VUE. Thanks!

Hello there, Are you sure you use MDB Vue? Your provided code looks like jQuery version. Please check the docs for MDB Vue Material Select

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: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No
Tags