Hi!
How can I set the masked input to allow only numbers and uppercase letters?
I try with
<ejs-maskedtextbox ejs-for="AuthPlates.regoznaka" id="regoznaka" mask=">AAAAAAAAAAAAAAA" locale="hr"></ejs-maskedtextbox>
but then I cannot enter, for example, croatian chars...like ŠĐČĆŽ.
Thanks!
Bernard.
<ejs-maskedtextbox id="mask1" mask="PPPPPPPPPPPPP" customCharacters="ViewBag.cusObj" floatLabelType="Never"></ejs-maskedtextbox> |
namespace Syncfusion_EJ2_Core_App.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
CustomCharacters customObj = new CustomCharacters();
customObj.P = "ŠĐČĆŽ";
ViewBag.cusObj = customObj;
return View();
}
}
}
public class CustomCharacters
{
public string P { get; set; }
} |
Hi Ponmani!
Thanks! It's working great. Just what I needed.
Just, maybe some solution for non-fixed length of the mask? If the mask is >AAAAAAAAAAAAAAA that means 15 chars is possible to input and there is _ sign in the textbox. Is there some property to turn it off?
Thanks!
Bernard.