We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem
For some reasons, if the value of multiple is a boolean, then the behaviour is wrong, default selection should not happen.
Steps To Reproduce
fn app() -> Element { rsx! { select { multiple: "true", option { label: "Brand", value: "2" } } select { multiple: true, option { label: "Brand", value: "2" } } }
Screenshots
Environment:
The text was updated successfully, but these errors were encountered:
Just to add more context to the issue. The followings behave the same. so the issue is something different.
select { multiple: true.to_string(), } select { multiple: if true { "true" } else { "false" }, } select { multiple: true, }
Sorry, something went wrong.
Hmm strange ”true” is treated differently than ”true”.to_string() (or the other examples you gave) 🤔
”true”
”true”.to_string()
That makes me think this is an issue for dynamic attributes in RSX, since string literals are handled differently as static attributes.
No branches or pull requests
Problem
For some reasons, if the value of multiple is a boolean, then the behaviour is wrong, default selection should not happen.
Steps To Reproduce
Screenshots
Environment:
The text was updated successfully, but these errors were encountered: