-
Notifications
You must be signed in to change notification settings - Fork 14
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
Modal, prevent null action error for onclose #60
Labels
Comments
@crodriguez1a Seems like conditionally setting the {{if showModal}}
{{bulma-modal onclose=(toggle 'showModal' this)}}
{{/if}} Some advantages I see with this are:
|
@jbailey4's suggestion seems like the idiomatic approach to me |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the demo, we provide an
onclose
action conditionally, and anull
value can be passed as a closure action, which is not allowed in 2.13.Can either update the demo here to demonstrate the following:
or provide a noOp as the default
onclose
valueThe text was updated successfully, but these errors were encountered: