polymorphic_embed icon indicating copy to clipboard operation
polymorphic_embed copied to clipboard

Errors for nested embeds in polymorphic embeds do not show

Open nduitz opened this issue 1 year ago • 5 comments

This PR solves the issue for nested embeds in phoenix_live_view: https://github.com/phoenixframework/phoenix_live_view/pull/3497

This fixes the behaviour + adds a test: https://github.com/mathieuprog/polymorphic_embed/pull/115

It is a bit hacky though as I with the general test setup a bit.

Thanks <3

nduitz avatar Dec 05 '24 15:12 nduitz

I'm running into this same issue. Are there plans to merge the PR?

manukall avatar Feb 21 '25 21:02 manukall

I'm also having the same issue. Will this PR be merged?

luislhsc avatar Jun 01 '25 20:06 luislhsc

Having this problem as well. Any updates?

jonathan-baernthaler avatar Jun 09 '25 00:06 jonathan-baernthaler

Same... Validation errors do not appear (They are in changeset but not as html errors.) for standard scalar fields (e.g., string, integer), whereas they display correctly for nested embedded schema fields.

polymorphic_embed 5.0.3

JacobAlexander avatar Jun 25 '25 08:06 JacobAlexander

@nduitz , is #115 still relevant given there is a follow-up on similar problems in #132?

rmoorman avatar Oct 10 '25 15:10 rmoorman