Mvc: column attribute for <textarea> is incorrect

Created on 19 Jul 2016  路  3Comments  路  Source: aspnet/Mvc

for a <textarea> columns="123" is incorrect it should be cols="123"

https://github.com/aspnet/Mvc/blob/a852352223f94406094315ee9ee51e16eb288571/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/DefaultHtmlGenerator.cs#L661

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea

so according to what spec should the attribute be named columns instead of cols ?

3 - Done bug

All 3 comments

Yeah. Looks like we spell-corrected the attribute name way back when (112a5dd) :frowning:

581a5ea

Thanks @iscifoni :grey_exclamation:

Was this page helpful?
0 / 5 - 0 ratings