How to get the ID of a table action modal? #15239
Unanswered
kayleeherrmann
asked this question in
Help
Replies: 1 comment 1 reply
-
Why not a modal form? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package
Table builder
Package Version
v3.2.0
How can we help you?
Hello!
I have a table action that renders my view:
The model is populated with a view that does some stuff including a form. This form is saved when
save-record
is dispatched. This all works nicely.I cannot trigger the close here as its possible the validation on the form may fail. What I want to do is dispatch the
close-modal
event upon successful record updating in my form.My issue: I cannot figure out how to find or assign an ID to my table action in order to dispatch this event.
All advice welcomed!
Beta Was this translation helpful? Give feedback.
All reactions