0
Good evening, I already asked this question, but I will try to improve it, I am developing in Aravel Vue and I just need to play the sorting function for the option within select, it is something simple, but I am not finding the problem, if anyone can help me thank you very much
am calling function method inside th with v-on:click
only that I want to change it to the user set by the option in select, so:
If you want to improve the question, simply edit the original question (rather than duplicate it). Also, if you want to improve, put the code as text and not as images (read the FAQ to better understand)
– hkotsubo
Solved as follows: <select v-model="ordemAuxCol" class="form-control mx-Sm-3"> <option v-on:click="orderColuna(index)" v-for="(title,index) in titles" :value="index" >{title}}</option> </select>
– Caique Queiroz