Replies: 1 comment
-
I didn't notice that modal is a whole different template. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create Joomla4 component and learning to do so by reading/copying the code from the components in the core. Everything works correctly but I can't select an item using the associations button.
I have defined the field inside
src/Field/Modal/IngredientField.php
and when I click on select it correctly opens a modal window showing the items. The problem is that when i click the title of the item to select it, insterad of closing the modal window and setting it, it opens the item edit layout inside the modal window.I feel like there might be something Javascript related that I am missing but not sure what.
If anyone could point me to some code example that manages that aspect in some other component, it would be much appreciated. Thanks
Beta Was this translation helpful? Give feedback.
All reactions