How to order a select by name?

  • Is there any way to order my select options by name (alphabetcly order)?

  • You could probably sort your select options in created() like so:
    data() {
    return {
    selectOptions: [‘Banana’, ‘Orange’, ‘Apple’],
    created() {

    I don’t think it’s a built in way to sort in q-select

Log in to reply