Closed EdricChan03 closed 7 months ago
Thanks for reporting. Material 3 1.3 seems to have changed a lot, will patch a fix later.
The fix is out, it should work now, feel free to try it! https://github.com/dokar3/ChipTextField/releases/tag/v0.7.0-alpha03
Trying to use your
ChipTextField
M3 composable with the latest alpha version of Compose Material3 (1.3.0-alpha04
) in my application results in the following runtime exception:Looking at the source code, I believe this is because the
containerColor
method that's used in theTextFieldColorsConverter.kt
file has since been made to return aColor
rather than aState<Color>
:https://github.com/dokar3/ChipTextField/blob/d821f25ef5aef4db4c6ec27298f8d7127ad1b865/chiptextfield-m3/src/commonMain/kotlin/com/dokar/chiptextfield/m3/TextFieldColorsConverter.kt#L32-L43
(I presume this change most likely landed in 1.3.0-alpha02, but there's no user-facing release note so I can't confirm that)