Opened 14 months ago

Closed 7 weeks ago

#2448 closed defect (wontfix)

Console form input improvements

Reported by: zzz Owned by: zzz
Priority: minor Milestone: n/a
Component: apps/console Version: 0.9.38
Keywords: Cc:
Parent Tickets: Sensitive: no


For approx. 200 instances of input type=text/password, add 'required' attribute where appropriate. Beware of POST buttons used to navigate away, e.g. 'settings' button on susimail login page.

For approx. 35 instances of input type=text, change to type=number and add min/max, if we get get the styling to look good across browsers, OR, add pattern attribute, possibly with x-moz-errormessage and/or equivalents for other browsers.

Tradeoffs here on localized error message client-side vs tagged error strings, ease of writing regexes to validate e.g. 1024-65535, how hard it is to make type=number look good.

I have a patch for type=number but haven't verified all the min/max values yet, and haven't tried too hard to make it look good yet.


Change History (1)

comment:1 Changed 7 weeks ago by zzz

Milestone: 0.9.40n/a
Resolution: wontfix
Sensitive: unset
Status: newclosed

type=number is a disaster and very hard to make work well across browsers. Tried it and gave up.
password required would be tough also, there's so many buttons to navigate away, e.g. sidebar stop/restart.

Note: See TracTickets for help on using tickets.