Updating Vue instance disables certain element

Updating Vue instance disables certain element

I am creating a roster in which assignment can be made using Vue. If I assign a person to a particular shift, then he is removed from all the preferences and we would no longer be able to navigate through different options. The close moves the preference up by 1 and the prev icon moves it down by 1 and tick makes the assignment. Have a look at the code&nbsp;<a href="https://jsfiddle.net/amahajan/3zxgvf17/9/" target="_blank">jsfiddle</a>.

I am creating a roster in which assignment can be made using Vue. If I assign a person to a particular shift, then he is removed from all the preferences and we would no longer be able to navigate through different options. The close moves the preference up by 1 and the prev icon moves it down by 1 and tick makes the assignment. Have a look at the code jsfiddle.

Now when an assignment is done then a delete operation is carried out. And after that, entire Vue is force updated. This delete operation disables the preference list navigation in all other table cells.Why this disabling occurs? Is there any solution to that. Also can Vue force Update be avoided?

 $('.assign').click(function() {
   app.assignNurse($(this));
   app.$forceUpdate();


});


jquery vue-js

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

8 Popular Websites That Use The Vue.JS Framework

In this article, we are going to list out the most popular websites using Vue JS as their frontend framework. Vue JS is one of those elite progressive JavaScript frameworks that has huge demand in the web development industry. Many popular websites are developed using Vue in their frontend development because of its imperative features.

Top Vue.js Developers in USA

Vue.js is an extensively popular JavaScript framework with which you can create powerful as well as interactive interfaces. Vue.js is the best framework when it comes to building a single web and mobile apps.

Vue js Axios Tutorial

Vue js Axios Tutorial. We will see Vue axios post request, Vue js headers and Vue js get request. We will use Node.js as backend platform.

10 Best Vue Icon Component For Your Vue.js App

In this article, I will collect 10 Vue icon component to bring more interactivity, better UI design to your Vue application.

Collection of 10 Vue Markdown Component for Vue.js App in 2020

Markdown is a way to style text on the web. The 10 Vue markdown components below will give you a clear view.