mirror of
https://github.com/LukeHagar/form.git
synced 2025-12-07 04:19:45 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user