Get 2024 Templates Mega Bundle!$1000 worth of 19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets for just $99
Get for 99$

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="https://s6.uupload.ir/files/screen_shot_1401-07-19_at_10.01.38_0dxj.png" />



also i upload before update screenshot:
<img src="https://s6.uupload.ir/files/screen_shot_1401-07-19_at_10.00.43_dh3.png" />


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • 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
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(