Skip to content

Upgrade to 2.28 breaks live-props as url #2975

@cklm

Description

@cklm

Hi guys, I found a problem when upgrading symfony/ux-live-component from 2.27 to 2.28: I have a live-prop with url true, like this:

#[LiveProp(writable: true, url: true)]
public int $page=1;

In 2.27 the page-parameter is in the url and gets updated when the property changes. In 2.28 the page-parameter isn't added to the url, even when the value changes. Maybe it is related to the change in UrlMapping.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions