Skip to content

Conversation

@vstyler96
Copy link
Contributor

Summary of Changes

In this PR we are allowing the user to see the touched state from the validator, thus, the user can dinamically use it for its purposes in the UI.

Testing Notes

  1. Run npm run test
image

@vstyler96 vstyler96 changed the title [0.7.2] feat(packages/vue): Added isTouched state to the reactive form [0.7.2] feat(packages/vue): Added wasTouched state to the reactive form Oct 7, 2025
@taylorotwell taylorotwell marked this pull request as draft October 7, 2025 17:37
@timacdonald
Copy link
Member

Thanks! I update the API to use the existing touched API.

// Already exists:

form.touched('name') // determines if the name is touched.

// Now possible:

form.touched()       // determines if any input has been touched

@timacdonald timacdonald marked this pull request as ready for review October 7, 2025 22:37
@timacdonald timacdonald changed the title [0.7.2] feat(packages/vue): Added wasTouched state to the reactive form [0.7.x] Added ability to check form's touched state via touched Oct 7, 2025
@taylorotwell taylorotwell merged commit 423d9f7 into laravel:main Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants