我正在使用DevExtreme,我想删除文本框中的空格。你能告诉我怎么做吗?
items.AddSimple().ColSpan(15).DataField("Email").Label(x => x.Visible(false))
.Editor(x => x.TextBox().Name("Email").ID("emailTextBox").Placeholder("Email")
.Mode(DevExtreme.AspNet.Mvc.TextBoxMode.Email))
.ValidationRules(v => v.AddEmail()).ValidationRules(v => v.AddRequired());