<Input type="select"> size attribute don't work
See original GitHub issueIssue description
if using <Input type="select" size="5">
then in DOM, size attribute is not applied
- components:
Input - reactstrap version
5.0.0-alpha.3 - react version
16.0.0 - bootstrap version
4.0.0-beta
Code
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Select size attribute size not working in Chrome/Safari?
I use the size attribute in the HTML for "other" browsers and then specify webkit appearance in CSS. Other types of menu list...
Read more >HTML : Select size attribute size not working in Chrome/Safari?
HTML : Select size attribute size not working in Chrome/Safari? [ Gift : Animated Search Engine : https://bit.ly/AnimSearch ] HTML : Select ......
Read more ><input>: The Input (Form Input) element - HTML
A field for editing an email address. Looks like a text input, but has validation parameters and relevant keyboard in supporting browsers and ......
Read more ><select size> "broken" on smartphones? - HTMLHelp Forums
It seems to me there is a problem how smartphones display the HTML "select" tag when the "size" attribute is used. No matter...
Read more >HTML select size Attribute - W3Schools
Note: In Chrome and Safari, this attribute may not work as expected for size="2" and size="3" . Syntax. <select size="number">. Attribute Values. Value ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Use a string such as
size="5"just like you would for html.Thanks for your quick reply, @TheSharpieOne ! The size attribute is not only used for multiple select. Please refer to the link below. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-size So can we use the size prop for html attribute not just for bootstrap size?