Skip to content

Conversation

devnix
Copy link

@devnix devnix commented Aug 29, 2025

This could probably fix #25

@ErwannDiagram, @toby-griffiths, I think this pull request would solve our problem. Could you provide feedback about it?

@alcohol, @aesislabs, would you like to check if it solves your case too?

TODO:

  • Add e2e failing case for chained dependent fields
  • Analyze and refactor src/DynamicFormBuilder.php diff since it was vibecoded

@devnix devnix changed the title Recursive dependent fields fix (#25) Recursive dependent fields fix Aug 29, 2025
@devnix devnix marked this pull request as ready for review September 11, 2025 09:48
@devnix
Copy link
Author

devnix commented Sep 11, 2025

We've been successfully using this branch in production for a couple of weeks without problems. I've been trying to implement some e2e tests to replicate the issue with live components but I'm pretty lost about what would be the correct way to set it up.

If someone could help me to set up the environment, I would be more than happy to create the reproducer :)

@toby-griffiths
Copy link

@devnix I dont' know the exact steps to set up tests, but if you check out the API Platform skeleton this has e2e tests pre-configured, using playwrite… but now I thinkof it, you probably want PHP tests for this repo, right?

@devnix
Copy link
Author

devnix commented Sep 11, 2025

Probably yeah, I think I (we?) would prefer to use zenstruck/browser for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Field with multiple dependencies
2 participants