Skip to content

Commit

Permalink
fix(demo): change new form view instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine authored and myparcel-bot[bot] committed Jan 10, 2024
1 parent 3c266c9 commit d7aa55e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions apps/demo/src/views/NewFormView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
<div>
<h1>Form without fields array</h1>
<p>
These forms are defined entirely in the template. The components can be placed anywhere in the template. When
<code>wrapper: false</code> is passed when creating the component, you need to manually place the Label and Errors
component as well.
These forms are defined entirely in the template. The components can be placed anywhere in the template. You can
even choose to manually place the Label and Errors components as well.
</p>

<div class="gap-2 grid grid-cols-2 grid-flow-row mt-4">
Expand Down Expand Up @@ -184,7 +183,6 @@ const Email = createField({
name: 'email',
label: 'Email',
component: TTextInput,
wrapper: false,
props: {
type: 'email',
},
Expand Down

0 comments on commit d7aa55e

Please sign in to comment.