Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

select2 input not works in version 8.1.5 laravel version


Hi,

Select2 not work in version 8.1.5

this is my code:

<!--begin::Input group-->
<div class="form-floating col-3 mb-3 pe-4">
<select class="form-select "
data-control=select2
data-hide-search="true"
id=productAvailability
id="productAvailability"
placeholder="Select status"
name="productAvailability"
/>
<option value=null>All</option>
<option value="1">Available</option>
<option value="2">Unavailable</option>
<option value="3">Newest</option>
<option value="4">Special Offers</option>
<option value="5">Weekly Sales</option>
</select>
<label class="" for="productAvailability">Status</label>
</div>
<!--end::Input group-->

and this is result after updateL
<img src=" />



also i upload before update screenshot:
<img src=" />


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (4)


Hi,

You can remove it as well. We will fix the entry. init.js file is included in the scripts.bundle.js file.

Thanks



Could you please try to remove this file?

resources/assets/core/js/layout/app.js

Then please recompile the assets npm run dev. This file shouldn't be there. We will remove it.

Thanks



It's fixed and working good, thanks for your follow-up.

But i have one question:

You add

js/init.js
to config file, but after build no file with this name in public folder. It's bug Or add in next version?



Hi Ali Sasani,

Thank you. We will check it and let you know the solution as soon as possible.

Thanks


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(