Replies: 3 comments
-
Hi ! The current implementation of the modal component does not allow doing what you are trying to do. It requires opening using the button component, or manually by writing your own javascript . |
Beta Was this translation helpful? Give feedback.
-
Do you have any source of a working solution? |
Beta Was this translation helpful? Give feedback.
-
Follow up for all who are in need -- this finally works
Screenshot prospects_effort_cu.sql is the file which gets opened by clicking the button Bonus Tip: If you ever wondered where these fancy icons come from, these are HTML emojis you'll find in lots of fonts. Just google "HTML Emojis" and enjoy (using lesser space) ;) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There's this table:
Notice the line as "Edit"
This is meant to fire a modal which will hold the form to edit the row's content.
The code to fire the modal is this:
but it doesn't get triggered. Both snippets live in a file prospects.sql and when the "Edit-Pen" has been clicked, prospect.sql reloads with this URL:
http://localhost:8080/prospects.sql?prospect_id=100&effort_id=2559#effort_edit_modal
I shifted everything around several times, but never succeeded to trigger the modal. Using a simple button worked, but it seems button as component won't work for a table column…
What am I missing here?
Beta Was this translation helpful? Give feedback.
All reactions