Skip to content

Errors for nested embeds in polymorphic embeds do not show #116

Open

Description

@nduitz

This PR solves the issue for nested embeds in phoenix_live_view:
phoenixframework/phoenix_live_view#3497

This fixes the behaviour + adds a test:
#115

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

Thanks <3

Activity

  1. manukall commented on Feb 21, 2025

    @manukall

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

  2. luislhsc commented on Jun 1, 2025

    @luislhsc

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

  3. jonathan-baernthaler commented on Jun 9, 2025

    @jonathan-baernthaler

    Having this problem as well. Any updates?

  4. JacobAlexander commented on Jun 25, 2025

    @JacobAlexander

    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

  5. rmoorman commented on Oct 10, 2025

    @rmoorman

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions