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

Set Modal's Event Prop's Default Value #240

Merged
merged 2 commits into from
May 6, 2024
Merged

Set Modal's Event Prop's Default Value #240

merged 2 commits into from
May 6, 2024

Conversation

wesdevpro
Copy link

Fixes #182

Proposed Changes

@wesdevpro wesdevpro added this to the v0.1.4 milestone Apr 29, 2024
@wesdevpro wesdevpro requested a review from kikuomax April 29, 2024 16:48
@wesdevpro wesdevpro self-assigned this Apr 29, 2024
@wesdevpro wesdevpro changed the title chore: set the Modal's events prop default to be an empty object Set Modal's Event Prop's Default Value Apr 29, 2024
@wesdevpro
Copy link
Author

@kikuomax This issues was solved after gathering an understanding of the following eslint rule https://eslint.vuejs.org/rules/require-valid-default-prop. This PR is now ready for review as all tests/build have passed.

Copy link
Collaborator

@kikuomax kikuomax left a comment

Choose a reason for hiding this comment

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

Thanks! I confirmed no warning appeared after programmatically opened a modal on the Modal doc page.

@kikuomax kikuomax merged commit 21d192a into dev May 6, 2024
3 checks passed
@kikuomax kikuomax deleted the UpdateDefault branch May 6, 2024 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Warning appears for programmatically opened Modal
2 participants