Topic: I have probleme with select MDB

Khaliltr free asked 5 years ago


I have added this

<select class="mdb-select">
    <option value="1">Option 1</option>
    <option value="2">Option 2</option>
    <option value="3">Option 3</option>
</select>

and this

<script type="text/javascript">
    // Material Select Initialization
    $(document).ready(function() {
        $('.mdb-select').material_select();
    });
</script>

The probleme is the input appear two times:enter image description here


Bartłomiej Malanowski staff commented 5 years ago

What is your version of MDB? Do you use any custom code? I also would like to add that Material Select is a premium component which isn't available in MDB Free


Khaliltr free commented 5 years ago

@Bartłomiej Malanowski I'm using MDB Pro 4.7.6I'm not using any custom code.. To this day and I haven't found the solution

I'im using symfony 4with this form type

add('categories', EntityType::class, [ 'class' => Categorie::class, 'required'=> false, 'multiple' => true ]);

if i delete 'required'=>false i see one input work good, but when 'required'=> false i see two inputs :/


Bartłomiej Malanowski staff commented 5 years ago

Currently, we don't have integration with Symfony


Khaliltr free commented 5 years ago

its full of bugs with symfony ...


Bartłomiej Malanowski staff commented 5 years ago

We're still trying to integrate MDB with some popular technologies so maybe one day we'll integrate MDB with Symfony.


Khaliltr free commented 5 years ago

[@Bartłomiej Malanowski](/profile/?id=20636) Can you help me about this problem : https://mdbootstrap.com/support/general/dropdown-select-option-crash-updated/


Bartłomiej Malanowski staff commented 5 years ago

@Khaliltr, our team will answer your question soon



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: Windows
  • Browser: Chrome
  • OS: WIN8
  • Provided sample code: No
  • Provided link: No