Skip to content
New issue

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

[RatingInput#897] Rating display update disabled #898

Merged

Conversation

michael-zimmermann
Copy link
Contributor

This is an example of avoiding the isEnabledModifier.
In this example. The RatingInputView creates the view model and updates the enables state of the view model when the body is build. This viewmodel is then passed to internal rating views.

@michael-zimmermann michael-zimmermann force-pushed the rating_display_update_disabled branch from fcfee71 to 98a21d9 Compare April 18, 2024 07:40
@michael-zimmermann michael-zimmermann added the Blocked Can't continue working on it at this moment label Apr 18, 2024
@michael-zimmermann michael-zimmermann changed the base branch from main to component/radiobutton_chip May 13, 2024 11:46
@michael-zimmermann michael-zimmermann merged commit 5b35e7c into component/radiobutton_chip May 13, 2024
5 checks passed
@michael-zimmermann michael-zimmermann deleted the rating_display_update_disabled branch May 13, 2024 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked Can't continue working on it at this moment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Component] RatingInput (SwiftUI): Update handling of disabled state
2 participants