Laravel integration


Topic: Laravel integration

spafinder pro asked 7 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!

Bartłomiej Malanowski staff pro premium answered 7 years ago

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
  • User: Pro
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No