Skip to content

Conversation

@parafeu
Copy link
Contributor

@parafeu parafeu commented Feb 4, 2025

This PR adds support for inputs data getter in vue and vue-inertia Forms.
It's mirroring the functionality of @inertiajs/vue3's useForm.

Example usage :

let dynamicEmail = '[email protected]'
function getData() {
  return { email: dynamicEmail }
}
const form = useForm('post', '/register', getData) 

@taylorotwell taylorotwell marked this pull request as draft February 5, 2025 10:16
@timacdonald timacdonald changed the title [Feature]: Data Getter Support in vue and vue-inertia Forms [0.6.x]: Data Getter Support in vue and vue-inertia Forms Feb 11, 2025
Copy link
Member

@timacdonald timacdonald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@timacdonald timacdonald marked this pull request as ready for review February 11, 2025 23:44
@timacdonald timacdonald self-assigned this Feb 11, 2025
@taylorotwell taylorotwell merged commit 881607f into laravel:main Feb 12, 2025
4 checks passed
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