Close

Category: vue.js

Vue.js

Comparing two fields with vue-validator

I was looking for a simple way to compare two fields with vue.js without much JavaScript, and came up with the following HTML and JavaScript code using vue-validator. We use 2 fields in total. The first field must contain an ID, so we can look up the element using “document.getElementById” to

Read More »