[Vuejs]-Vue : prevent soring in computed list when editing content

2👍

You can use the .lazy modifier that prevents syncing after an input event and that will wait for a change event.

<input v-model.lazy="item.intent" class="form-control">

See here for the docs.

When you don’t want to sort the list after a change event, you could add a boolean (sortList for example) that you would have to set manually and can add to nluData().

Leave a comment