https://kotlinlang.org logo
#compose-web
Title
# compose-web
s

Shubham Singh

02/06/2023, 3:12 PM
Hey everyone I'm facing this issue while using compose for web I had just forked the
falling-balls-mpp
project and was playing around with it.. I removed the game and just added a Column inside which I have a Text, Button and a TextField composables As you can see in the video as well, if I include the TextField composable, then the button stops working and crashes the app but if I exclude it, the app starts working fine Is this a known issue? Or should I send logs?
s

spierce7

02/06/2023, 3:19 PM
It looks like from the error that
toLanguageTag
isn't implemented in the version of compose js that you are running.
s

Shubham Singh

02/06/2023, 3:19 PM
The same issue is with the
material3
dependency as well This project uses Kotlin
1.8.0
with Compose
1.3.0
It looks like from the error that
toLanguageTag
isn't implemented in the version of compose js that you are running.
Possibly.. let me check with a SNAPSHOT version if that helps
o

Oleksandr Karpovich [JB]

02/06/2023, 3:27 PM
the SNAPSHOT won’t help too, unfortunately. This is indeed not implemented for compose-canvas in k/js (still experimental).
s

Shubham Singh

02/06/2023, 3:28 PM
Ah.. understood Still.. this is so cool to be able to experience Compose on Web Thanks a bunch for your efforts guys 👏
g

Gary

02/07/2023, 5:21 PM
BasicTextField
works but it doesn’t seem to accept copy/paste and other controls. It just adds the key value to the input. Any idea where it comes from ?
12 Views