From a8d9ae6d4c42a4495929af1f8cfe0e1c3893eefe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Sz=C5=91gy=C3=A9nyi?= Date: Tue, 21 Nov 2023 11:57:20 +0200 Subject: [PATCH] feat(number input): add phone number example --- content/forms/number-input.md | 69 +++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/content/forms/number-input.md b/content/forms/number-input.md index cdcb53f86..3f6a52151 100644 --- a/content/forms/number-input.md +++ b/content/forms/number-input.md @@ -48,6 +48,75 @@ Use this example with an icon and helper text to set a ZIP code value inside a f ## Phone number +Use this example to set a phone number inside a form field based on the `type="phone"` attribute and a dropdown menu to select the country code. + +{{< example id="phone-code-number-input" github="components/number-input.md" show_dark=true iframeHeight="360" disable_init_js="true" >}} +
+
+ + + +
+ +
+
+
+{{< /example >}} + ## Control buttons Use this example with control buttons to increment and decrement the value inside the input field.