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 Enable bypassing entwine onsubmit handler #1685

Merged

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz commented Feb 22, 2024

};

Toast.defaultProps = {
actions: []
actions: [],
onDismiss: () => {},
Copy link
Member Author

@emteknetnz emteknetnz Feb 27, 2024

Choose a reason for hiding this comment

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

This is to fix an unrelated console warning after running yarn dev

"Warning: Failed prop type: The prop toasts[0].onDismiss is marked as required in Toasts, but its value is undefined."

@emteknetnz emteknetnz force-pushed the pulls/2/bypass-entwine branch 2 times, most recently from ed6e7d5 to 85cb4c2 Compare March 14, 2024 03:43
Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

Looks okay. Will merge when the elemental PR is ready.

@maxime-rainville
Copy link
Contributor

I've rebased the PR to solved the merge conflict and will merge on green.

@maxime-rainville maxime-rainville merged commit 72371d7 into silverstripe:2 Apr 15, 2024
12 checks passed
@maxime-rainville maxime-rainville deleted the pulls/2/bypass-entwine branch April 15, 2024 22:20
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.

3 participants