Skip to content

Conversation

@weaverryan
Copy link
Member

Q A
Bug fix? yes
New feature? no
Tickets Fix #720
License MIT

In the unreleased code, writing a "deep" path to an array LiveProp is broken (e.g. formValues in ComponentWithFormTrait when you have an embedded form). Test case here, solution coming shortly.

@weaverryan weaverryan changed the title [WIP][Live] Adding failing test case for updating individual parts of deeply writable paths [Live] Adding failing test case for updating individual parts of deeply writable paths Mar 8, 2023
@weaverryan
Copy link
Member Author

This works now on the reproducer from #720. I'm playing a bit of whack-a-mole with hydration edge-cases, but I don't think it's a problem: each adds a new test case, and I think remaining problems are finite.

@weaverryan weaverryan force-pushed the fix-deeply-writable-path-updates branch from 980d931 to 7954675 Compare March 13, 2023 18:31
@weaverryan weaverryan merged commit fc8b5db into symfony:2.x Mar 13, 2023
@weaverryan weaverryan deleted the fix-deeply-writable-path-updates branch March 13, 2023 18:31
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.

[LiveComponent] Fix bug where writable path does not respect frontend "fieldName"

1 participant