Closed bmickoski closed 7 years ago
Why not use edtiable-textarea
since you are using multi-line data?
Well I wanted to go with editable-textarea but requirement is to use simple text and if text is bigger than 65 characters I am showing tooltip.. stupid but that is how I must go...
As far as I know, line are only allowed in textarea's. Maybe you could style the textarea to look more like a normal input. Or maybe you have an "on-paste" method that strips out the line breaks.
Hey @ckosloski I agree with you. If we want lines (paragraphs) we need to use textareas.. I was just curious because I see that in Text Angular there was made PR that fix this on Chrome and Mozilla but not FF... Thanks anyway I will close PR.
I am using angular-xeditable. After reaching to max allowed number of characters i am disabling button and showing error message. This is working fine on all browsers. However if i copy paste text that is in paragraphs in IE onlt first paragraph is pasted, on FF and Chrome is good. For example if e-ta-max is set to 10 and i try to copy paste this text in input on IE :
only asadfasdd os being paste. Does we have some solution for this or unfortunately this is something that browser is doing and we cannot do nothing about that... Thanks.