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
hfhbd
10/09/2022, 7:39 AM
Do you get a compiler/runtime error or does the required attribute don't work as expected in html?
a
Ayfri
10/09/2022, 12:49 PM
I get a runtime error and nothing loads
Ayfri
10/09/2022, 2:54 PM
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
hfhbd
10/09/2022, 3:16 PM
I guess, it is referencing to some removed function. Removing
implementation(compose.runtime)
did work, weird.
hfhbd
10/09/2022, 3:18 PM
Maybe, because
routing-compose:0.2.8
uses
1.2.0-alpha01-dev770
, you pull this compose-runtime version...
a
Ayfri
10/09/2022, 3:22 PM
Mh I don't think because I can use CSS APIs from beta