You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For inputs of type text, with a known limited size of characters, I find it useful to restrict the width of the input via the HTML size attribute.
In the API documentation the size property is not documented and I found that it does not have any effect if I try to provide it in the constructor e.g. Inputs.text( { size:4 } ) or Inputs.text( { size:"4" } )
So I wish that Inputs.text() would pass through the optional size attribute and render it as the standard HTML attribute for the resulting <input> element, like so: <input type="text" ... size="4">
The text was updated successfully, but these errors were encountered:
For inputs of type text, with a known limited size of characters, I find it useful to restrict the width of the input via the HTML size attribute.
In the API documentation the size property is not documented and I found that it does not have any effect if I try to provide it in the constructor e.g.
Inputs.text( { size:4 } )
orInputs.text( { size:"4" } )
So I wish that
Inputs.text()
would pass through the optionalsize
attribute and render it as the standard HTML attribute for the resulting<input>
element, like so:<input type="text" ... size="4">
The text was updated successfully, but these errors were encountered: