From 1e6a4bccfe12285f9cd1ec81cef03e4e1c37690f Mon Sep 17 00:00:00 2001 From: Scott Date: Mon, 13 Aug 2018 18:51:50 +0200 Subject: [PATCH] Update input-textfield.md Adds a tip for typecasting numbers through v-model.number modifier. Scott --- source/components/input-textfield.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/components/input-textfield.md b/source/components/input-textfield.md index a5286fa6..a0073ee1 100644 --- a/source/components/input-textfield.md +++ b/source/components/input-textfield.md @@ -180,6 +180,10 @@ The below example shows a number input type. ``` html ``` +If you want user input to be automatically typecast as a number, you can add the number modifier to your v-model inputs: +``` html + +``` ### Prefixes and Suffixes You can add a text before or after the field as part of an input mask, for instance, for showing Euro or US Dollar currency.