page_or_link doesn't work properly #460
-
I'm using the latest version of backpack 4, I have declared the following repeatable field:
now the problem's that when I select "external link" I cannot see the field where to type the custom link, I always have the page selection, check it out: I save in "page_or_link" blade file that there is the following function:
which is supposed to hide / show the corresponding field based on the selection, but for some reason isn't called when I change the link type in the select. Any idea? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello @cod3rshotout unfortunately We tried for a bit, so it displays and stuff, but does not properly work because of the field design (different from all other fields in backpack ecosystem). We would need to rewrite the whole field with a different approach to make it work in repeatable. That field in v5 is not part of the core anymore and is a package specific field. (MenuCRUD package). Sorry I can't be more helpful here. Cheers |
Beta Was this translation helpful? Give feedback.
-
I'm closing this issue due to inactivity. If you need further assistance or have additional questions, feel free to reopen this issue or create a new one. We're here to help! |
Beta Was this translation helpful? Give feedback.
Hello @cod3rshotout unfortunately
page_or_link
is not compatible with repeatable.We tried for a bit, so it displays and stuff, but does not properly work because of the field design (different from all other fields in backpack ecosystem). We would need to rewrite the whole field with a different approach to make it work in repeatable.
That field in v5 is not part of the core anymore and is a package specific field. (MenuCRUD package).
Sorry I can't be more helpful here.
Cheers