Dependency does not reset the value in repeatable #1297
Replies: 2 comments
-
|
Based on the knowledge sources provided, it appears that there are a couple of issues with dependencies and repeatable fields in Backpack that are relevant to your question. Let me address them:
A fix for this issue was implemented in Pull Request #3275, which introduced row numbers to repeatable elements to allow the dependant functionality to work inside repeatable fields.
A fix for this was implemented in Pull Request #3439, which addressed the issue of repeatable field data not being included in ajax requests. To retrieve the repeatable field data in your API method, you should be able to use the Given these fixes, if you're still experiencing these issues, it's possible that you might be using an older version of Backpack. I would recommend updating to the latest version of Backpack, which should include these fixes. If you're already on the latest version and still experiencing issues, you might need to create a custom implementation. Unfortunately, the knowledge sources don't provide a specific solution for your exact use case. You might need to reach out to the Backpack community or create a new issue on their GitHub repository for further assistance. ℹ️ Please note our AI Bot does not reply to follow-ups, this will be the only AI answer in this thread. If the AI helped you find the answer, please mark it as answered or write details below so it can learn. Then close the conversation. If not, please give more information for when a human reads this. ℹ️ Relevant sources: Trigger change also for subfields |
Beta Was this translation helpful? Give feedback.
-
|
Hello @cod3rshotout I confirm this bug, we are working on a fix to publish ASAP. Thanks for sharing this information to help us to improve Backpack for Laravel :) Cheers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not sure if this is a bug, meanwhile I open a support request here. Essentialy I have this field:
I would like to reset the select with "phase_id" name when the select of "process_id" is changed, at the moment this mechanism doesn't work.
Also, I want to know how can I get the value of "process_id" within the api method, at the moment I wrote this code:
but I'm not able to retrieve the "process_id" value to filter the phases. Any help would be appreciated, thanks.
Beta Was this translation helpful? Give feedback.
All reactions