Vue · Junior · Question 26 of 75

What does v-model.number do?

Explanation

Input values are always strings. Other modifiers: .trim removes whitespace and .lazy syncs on change instead of input.

Further reading

Problem with a question

Vue · Junior · question 26

Test yourself

Take the Vue · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz