https://kotlinlang.org logo
#compose
Title
# compose
c

Chethan

01/08/2021, 6:01 AM
how to make single line true in OutlinedTextField?
s

Siyamed

01/08/2021, 6:24 AM
Copy code
OutlinedTextField(singleLine=true)
OutlinedTextField(singleLine=true)
c

Chethan

01/08/2021, 6:59 AM
I am using Android compose version 1.0.0 - Alpha 05, it shows the error
s

Siyamed

01/08/2021, 7:03 AM
yeah, it was added after alpha05, I am not sure when exactly it was added
it is probably in alpha07
c

Chethan

01/08/2021, 8:03 AM
oh .. we have made our project using alpha05 , migrating to alpha 07 is really not that simple
j

jim

01/08/2021, 12:13 PM
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

Chethan

01/08/2021, 12:48 PM
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

Shakil Karim

01/08/2021, 3:54 PM
@Chethan Production quality app with the framework which is still in Alpha?
🤣 2
k

Kshitij Patil

01/08/2021, 7:57 PM
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

Colton Idle

01/09/2021, 4:45 AM
alpha05? Isn't that like 3 months old at this point? You're missing out on a ton of bug fixes.
9 Views