0

I have to create a razor text box where users should allow to input only hindi digits {०,१,२,३,...९}. How can I do that?

@Html.EditorFor(model => model.Region, new { htmlAttributes = new { @class = "form-control", @type="number",@min="0",@max="8" } })
Yiyi You
  • 16,875
  • 1
  • 10
  • 22
nischalinn
  • 1,133
  • 2
  • 12
  • 38

1 Answers1

0

I found this answer that could help you if what you are looking for is to let the user type hindi character with their QWERTY keyboard.

https://stackoverflow.com/a/22794496/16688813

Tom
  • 4,972
  • 3
  • 10
  • 28