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

Feature/design system checkboxes - ticket#85 #65

Merged
merged 4 commits into from Nov 18, 2021

Conversation

vmilitaru
Copy link

I've completely refactored these 2 components <ONSCheckbox /> and <ONSCheckboxes /> following the DS checkboxes example and the ticket#85. While trying to apply the bind:value svelte directive I found out that in svelte the bind:group does not work with nested components and this is why I ended up using the onChangeBindGroup function as a solution.

Screenshot 2021-11-17 at 17 20 39

Screenshot 2021-11-17 at 17 21 00

@netlify
Copy link

netlify bot commented Nov 17, 2021

✔️ Deploy Preview for ons-data-map ready!

🔨 Explore the source changes: 30b9fff

🔍 Inspect the deploy log: https://app.netlify.com/sites/ons-data-map/deploys/6196509e60a35b0009f3528d

😎 Browse the preview: https://deploy-preview-65--ons-data-map.netlify.app

designorant
designorant previously approved these changes Nov 18, 2021
Copy link

@designorant designorant left a comment

Choose a reason for hiding this comment

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

LGTM! Nice addition of legendIsQuestionTitle.

This whole bindGroup business makes me wonder whether our structure is suitable for Svelte but let's leave this pattern in as it works. Might be something to look into later.

Copy link

@designorant designorant left a comment

Choose a reason for hiding this comment

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

🚀

@vmilitaru vmilitaru merged commit 3d149ab into master Nov 18, 2021
@designorant designorant deleted the feature/design-system-checkboxes branch November 25, 2021 04:25
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.

None yet

2 participants