Skip to content

[LiveComponent] _willDataFitInUrl does not calculate correctly #251

@norkunas

Description

@norkunas

Based on my findings:

  • It doesn't properly serialize to string value when this.dataValue contains nested objects, because in my case it Object.values(this.dataValue).join(',') returns: [object Object],form_builder,[object Object],false,form_builder.slug,form_builder.title,NJQRgieAbBmGi0vFxpGlGJVYTrJpA0se7rz4rDTl4N8=
  • It doesn't take into account params and only uses this.dataValue to determine it

So in my case when editing a big form with a LiveComponent it always fails to render because it does GET requests with too long query string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions