2

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
  • 320,139
  • 94
  • 887
  • 841
Constantin
  • 699
  • 5
  • 9

1 Answers1

2

With the 1.0.0-beta01 you can use:

TextField(
    enabled = false,
    ...
)
Gabriele Mariotti
  • 320,139
  • 94
  • 887
  • 841