Customize the step value and hide spin buttons

2 Mar 20221 minute to read

The spin buttons allow you to increase or decrease the value with the predefined step value. The visibility of spin buttons can be set using the showSpinButton property.

@Html.EJS().NumericTextBox("numeric").Value(16).Min(10).Max(100).ShowSpinButton(false).Render()
public ActionResult Icons()
{
    return View();
}

Output be like the below.

NumericTextBox Sample