<select class="form-control select m-4" style="max-width:100%" multiple data-mdb-visible-options="6" name="ip" id="ip" multiselect-hide-x="true" data-mdb-placeholder="Please select a Device from Dropdown list">
const selectEl = document.querySelector('.select')