I posted a question over on stackoverflow, in orde...
# compose
r
I posted a question over on stackoverflow, in order not to duplicate, here's the link https://stackoverflow.com/q/76179751/13605694
m
I added an answer to your question, let me know if that fixes your problem
e
why do you want to use a Text composable?
just use a TextField (or BasicTextField if you want more control over the styling)
the
textStyle
and
enabled
parameters give you control over strikethrough and editable
m
You right, if he just wants to use a single style for the whole text, that's the best available option
a
It's also likely to be more accessible if it's always a
TextField
. If it requires some form of interaction before it transforms into a
TextField
, then it might not read as an editable piece of text to accessibility services.
r
Thanks for the responses. Ended up with the
TextField
approach, would be updating the stackoverflow question with the solution