1
Good morning, I am with a simple doubt, I did some research and could not find anything related, I do not want to believe that this is a 'bug'.
So, the typing of the field starts only in the middle of it, no matter how many padding or margin I give internally, the idea is to use a typeahead field with altered height with typing in the right place, unfortunately in this case I can’t use a textarea and use the attribute "Rows", I need it to be in the text field...
So, does anyone know how I change it ? Thanks already ! Please excuse the question 'Noob'. rs
Unused
padding-bottom: 100px
?– Thiago Santos
Why does it need to be within an input and not in a textarea? I did a test here with padding, and it worked well, the problem is that it will not jump to the second line when it reaches the limit of the first, will always extend horizontally.
– Paulo C. Teixeira
Paul, because as you can see in the description I use a typeahead, is a text field that uses search tools.
– Lincoln Binda
Thiago Santos, the padding-bottom solved the position, but created me another problem that is the line break when arriving at the end of the field, does not have any way to simulate a textarea using a text? T_T
– Lincoln Binda
Take a look at this: https://github.com/yuku-t/jquery-textcomplete and maybe the right approach is: How to use Typeahead with Textarea?
– Thiago Santos
Yes, you’re right, thank you! I will delete the topic so as not to "stain" the community with useless things.
– Lincoln Binda
Why do you think it’s useless ? @Lincolnbinda, I consider it a doubt that anyone who has started can have... Even if you find the solution and post an answer you would be enriching the community even more...
– MagicHat
@Lincolnbinda As far as I know, only with
padding-bottom
even.– Leon Freire