Not set proprierty when using withQueryParams in functional api
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 423
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
### 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

The test with debug

Result:

### Steps To Reproduce
Create a url property and test it withQueryParams()


Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Volt functional API test that calls withQueryParams() for a URL property, using the reproduction steps and screenshots in this issue. Trace how the query parameter reaches the component and verify that the property receives the passed value during the test; done means the reproduced test observes the expected property value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- backend, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100