Shubham Singh
04/05/2023, 3:28 PMlet params = serializeFormQuery(event.target);
setSearchParams(params);
I’m not sure how to do the same in Kotlin/JS as serializeFormQuery
function is not available and setSearchParams
function takes in a value of type Any
on which I can’t seem to get even jso
to work. Does anyone have an idea on how to pass query params in Kotlin/JS?CLOVIS
04/05/2023, 3:31 PMwindow.location.search
: https://stackoverflow.com/a/41542008