How can i target button by id #2582
Unanswered
faizan0210
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello @tabuna,
How can i target the button by id and perform some javascript action, i tried the following but it doesn't worked
$buttons[] = Button::make('Preview')->id('ddd')
->icon('check')
->method('preview')->target("_blank");
It add the id to the btn but unable to target the button .
Beta Was this translation helpful? Give feedback.
All reactions