https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34146 --- Comment #9 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Owen Leonard from comment #8)
(In reply to Marcel de Rooy from comment #7)
There is a size="2" but it does not work.
It sounds like you may be thinking of the "maxlength" attribute? Size only controls the width, not the values it accepts.
Good point. Will add maxlength. Was trying to deduct why the check was removed. Note that size for a input text has a vague connection to the number of chars according to html specs. This attribute tells the user agent the initial width of the control. The width is given in pixels except when type attribute has the value "text" or "password". In that case, its value refers to the (integer) number of characters. END QUOTE Note that it also depends on font etc. So not a good choice. Bootstrap offers other options for width too. -- You are receiving this mail because: You are watching all bug changes.