Closed julianonunes closed 9 years ago
I'm trying to use EditOptions to add a maxlength attribute to an input type="text" with the following code:
.AddColumn(new Column("Ordenacao") .SetLabel("Ordem") .SetSortable(true) .SetEditOptions(new EditOptions() { OtherOptions = "maxlength: 5"}) .SetWidth(30) .SetEditable(true))
However, this is rendered like this:
Is this a bug or a mistake in my code?
I'm trying to use EditOptions to add a maxlength attribute to an input type="text" with the following code:
.AddColumn(new Column("Ordenacao") .SetLabel("Ordem") .SetSortable(true) .SetEditOptions(new EditOptions() { OtherOptions = "maxlength: 5"}) .SetWidth(30) .SetEditable(true))
However, this is rendered like this:
Is this a bug or a mistake in my code?