Hi, I have a very weird error, I can't use the `re...
# compose-web
a
Hi, I have a very weird error, I can't use the
required
attribute since beta, it leads to an error that this specific function isn't a function when accessing the website, I'm using Kt 1.7.10 and tried with both 1.2.0-beta01 & beta02, I also use this attribute in a function where there is a boolean
required
argument.
h
Do you get a compiler/runtime error or does the required attribute don't work as expected in html?
a
I get a runtime error and nothing loads
I tried to reproduce it on a little test project like you but I can't get the error there, it's just on my big project that I get it, but this project also uses ktx.serialization, maybe it's because of that ? In any cases here is the line where it's failing (I replaced it with
attr("required", "")
, else it brokes, the last commit for this file is indeed me replacing it so it works) (On my little project I even tried to use the exact same function but I don't get the error, it's weird)
h
I guess, it is referencing to some removed function. Removing
implementation(compose.runtime)
did work, weird.
Maybe, because
routing-compose:0.2.8
uses
1.2.0-alpha01-dev770
, you pull this compose-runtime version...
a
Mh I don't think because I can use CSS APIs from beta
but yes maybe this dependency break it