Previously I was using `checked(false)` to uncheck...
# compose-web
t
Previously I was using
checked(false)
to uncheck a radio/checkbox. now that
checked(Boolean)
has removed in
0.5.0-build225
, so what's the recommended method to uncheck a radio/checkbox?
just skip the
disable
call?
o
as for now, your code might be something like this:
Copy code
if (shouldCheck) checked()
if (shouldDisable) disabled()
the previous
checked(Boolean)
was not correct, because when the passed value was
false
it was just ignored internally. And that might be confusing.
t
alright. understood. thanks 👍