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

fix(radio): updated disabled state #186

Merged
merged 3 commits into from
Dec 11, 2024
Merged

Conversation

pimenovoleg
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Dec 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blocks-showcase ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 11, 2024 8:45am
primitives ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 11, 2024 8:45am
radix-astro-doc ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 11, 2024 8:45am
shadcn-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 11, 2024 8:45am
taxonomy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 11, 2024 8:45am

@Output() readonly onValueChange = new EventEmitter<string>();
readonly onValueChange = output<string>();

private readonly disable = signal<boolean>(this.disabled());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why you create additional signal, why not use existing this.disabled?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pimenovoleg pimenovoleg merged commit caf6cd5 into main Dec 11, 2024
8 checks passed
@pimenovoleg pimenovoleg deleted the feat/radio-group-disable-state branch December 11, 2024 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants