Hello All, I am looking at Textfields and I dont s...
# compose
m
Hello All, I am looking at Textfields and I dont see a way to set Overflow for Text. Is there a way we set overflow with type ellipse.
a
Overflow is not supported for TextField. Also textfield should be able to scroll horizontally on overflow. What is your usecase?
❤️ 1
m
Basically when we have trailing Icons we need to show ellipse for long text
c
For static text there is the
Text()
composable which has overflow handling
m
hmm I see for Text(), but our usecase is for Edittext aka TextField
c
No, that is not possible and from an UX perspective also not suitable. you are editing the text so it’s either multiline or scrolls while you are typing.
5