volt icon indicating copy to clipboard operation
volt copied to clipboard

Not set proprierty when using withQueryParams in functional api

Open andrefelipe18 opened this issue 1 year ago • 1 comments

Volt Version

1.6.5

Laravel Version

11.27.2

PHP Version

8.3

Database Driver & Version

sqlite

Description

Hi!

I'm finding one error when i testing my volt component with URL property, (Volt functional API / Pest)

I'm finding one error when i testing my volt component with URL property, when a pass withQueryParams and make dd() in component the property not change the value to value passed in withQueryParams.

My property

Image

The test with debug

Image

Result:

Image

Steps To Reproduce

Create a url property and test it withQueryParams()

Image

Image

andrefelipe18 avatar Oct 12 '24 21:10 andrefelipe18

Thank you for reporting this issue!

As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.

If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.

Thank you!

github-actions[bot] avatar Jan 08 '25 11:01 github-actions[bot]