Posted 29 January 2024, 5:13 am EST
Hello,
I am using the InputNumber control with two ways of writing as below:
Style 1: <c1-input-number id="I_Meibo_Nendo" name="I_Meibo_Nendo" for="I_Meibo_Nendo" min="0" max="9999" width="100%" is-required="false"></c1-input-number>
Style 2: @Html.C1().InputNumber().Id("I_Meibo_Nendo1").Value(Model?.I_Meibo_Nendo).Min(-9999).Max(9999).Name("I_Meibo_Nendo").Format("g")
In style 1, the output to html is
<input type="text">
In style 2, the output to html is
<input type="tel">
- In style 1, I want to output
what should I do?<input type="tel">
- Is there any documentation about the difference between these two styles?
please help me!