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
icon
Button
The icon prop in the Button component is of type Option<icondata_core::Icon>, which means it's not possible to change the icon based on a signal.
Option<icondata_core::Icon>
Is it possible for the icon prop use a signal instead?
The text was updated successfully, but these errors were encountered:
Yes, I can change it to Option<MaybeSignal<icondata_core::Icon>>.
Option<MaybeSignal<icondata_core::Icon>>
Sorry, something went wrong.
@luoxiaozero though if its Option<MaybeSignal<icondata_core::Icon>>, that means you cannot disable the button via a signal right?
Maybe MaybeSignal<Option<icondata_core::Icon>> would be better?
MaybeSignal<Option<icondata_core::Icon>>
Successfully merging a pull request may close this issue.
The
icon
prop in theButton
component is of typeOption<icondata_core::Icon>
, which means it's not possible to change the icon based on a signal.Is it possible for the
icon
prop use a signal instead?The text was updated successfully, but these errors were encountered: