precognition icon indicating copy to clipboard operation
precognition copied to clipboard

Anticipate the outcome of a future HTTP request.

Results 16 precognition issues
Sort by recently updated
recently updated
newest added

Currently, when the validation is triggered, precognition sends the raw form to be validated. This behaviour conflicts with the transformed data applied when the form is submitted. The problems are:...

needs more info

This was opened from #56 which I think was inadvertently closed, as it didn't have a resolution. The linked issues have similar questions which I haven't found an answer to...

enhancement

Make `form.validate` function async just like `form.submit` to be able to await the validation process. Fixes #59

This will give us usable types for `useForm` for React and Vue 3 when using Inertia. Related to #31, but not dependant on it. For now, builds will fail for...

I did some rework on the vue-inertia package in order to make it compatible with the original InertiaJS "useForm": **Changes** - Precognition "useForm" will accept object type like InertiaJS: ```...

Like for the method and url, it would be helpful to have also initial value originated by function. Example are: - initial function is created looking at a computed property...

enhancement

The `useForm` composable for Inertia has no types. This PR adds them.

### Laravel Precognition Plugin Version 0.5.6 ### Laravel Version 10.41.1 ### Plugin Vue w/ Inertia ### Description In #72, support for Inertia transform was added. However, it looks like it...

bug

Because lodashes get and set are used and the errors in the response for nested fields are based on dot notation, the selectors for these fields can also be in...