how to make single line true in OutlinedTextField?
# compose
c
how to make single line true in OutlinedTextField?
s
Copy code
OutlinedTextField(singleLine=true)
OutlinedTextField(singleLine=true)
c
I am using Android compose version 1.0.0 - Alpha 05, it shows the error
s
yeah, it was added after alpha05, I am not sure when exactly it was added
it is probably in alpha07
c
oh .. we have made our project using alpha05 , migrating to alpha 07 is really not that simple
j
The longer you wait, the more the changes will pile up and the migration paths will become buried in history, which will make the upgrade harder to perform.
☝️ 2
c
Thanks @jim, we have made production quality app with Compose . now migrating will take one whole Week activities for the project . I understand Alpha phase has much volatility
👍 1
s
@Chethan Production quality app with the framework which is still in Alpha?
🤣 2
k
The only way to get best out of a library in Alpha is to stay on the latest or second latest version of it. I guess you might not even be able to manage
TextField
focus if you're still on
alpha05
, don't hesitate upgrading, it'll take time but will be worth doing it. I've been in this situation so sharing some experience.
👍 1
c
alpha05? Isn't that like 3 months old at this point? You're missing out on a ton of bug fixes.