feat(vue): field is now destructured from Field. TypeScript types are much more strict now

* fix(vue): Subscribe component default scoped slot types

* fix(vue): Field component default scoped slot value types

* example type fixes

* remove test log

* docs(vue): Field component slot fix

* refactor(vue): remove unused children property type from field component

* chore: fix formatting

---------

Co-authored-by: Corbin Crutchley <git@crutchcorn.dev>
This commit is contained in:
Robert Soriano
2023-09-08 14:41:54 -07:00
committed by GitHub
parent 790c1aa226
commit 6935b330fa
6 changed files with 62 additions and 38 deletions

View File

@@ -28,7 +28,7 @@ form.provideFormContext()
<div>
<div>
<form.Field name="fullName">
<template v-slot="field">
<template v-slot="{ field }">
<input
:name="field.name"
:value="field.state.value"