Vue.js Interview Challenge — #15 — Number Input

Problem statement
In this challenge you have a simple form with two inputs. First input represents a name of the vessel and second one a unique MMSI number. The requirement is that the MMSI must be always be a number.
You bound the value using v-model and added type="number" attribute to be sure that the value is a number.
But when you fill the form you still see that the MMSI is saved as a string.
Go through the code and find what needs to be changed to fix that.
Challenge
Take a close look and understand the problem first. Try to solve it on your own. If you get stuck, you can always refer to the solution provided. Good luck!
Want to see more challenges? Support my writing by joining Medium — https://medium.com/@m.rybczonek/membership
