1

How can I disable FilledTextField component like a Button or something else? Are there some modifier or some wrapper to switch disable/enable state of UI components in Android Jetpack Compose?

Gabriele Mariotti
  • 192,671
  • 57
  • 469
  • 489
Constantin
  • 621
  • 5
  • 7

1 Answers1

2

With the 1.0.0-beta01 you can use:

TextField(
    enabled = false,
    ...
)
Gabriele Mariotti
  • 192,671
  • 57
  • 469
  • 489