Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove v-model example from iconfield documentation #7029

Merged
merged 2 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions components/doc/iconfield/basicdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export function BasicDoc(props) {
basic: `
<IconField iconPosition="left">
<InputIcon className="pi pi-search"> </InputIcon>
<InputText v-model="value1" placeholder="Search" />
<InputText placeholder="Search" />
</IconField>

<IconField>
<InputIcon className="pi pi-spin pi-spinner"> </InputIcon>
<InputText v-model="value2" />
<InputText />
</IconField>
`,
javascript: `
Expand All @@ -29,12 +29,12 @@ export default function BasicDemo() {
<div className="flex gap-3">
<IconField iconPosition="left">
<InputIcon className="pi pi-search"> </InputIcon>
<InputText v-model="value1" placeholder="Search" />
<InputText placeholder="Search" />
</IconField>

<IconField>
<InputIcon className="pi pi-spin pi-spinner"> </InputIcon>
<InputText v-model="value2" />
<InputText />
</IconField>
</div>
)
Expand All @@ -51,12 +51,12 @@ export default function BasicDemo() {
<div className="flex gap-3">
<IconField iconPosition="left">
<InputIcon className="pi pi-search"> </InputIcon>
<InputText v-model="value1" placeholder="Search" />
<InputText placeholder="Search" />
</IconField>

<IconField>
<InputIcon className="pi pi-spin pi-spinner"> </InputIcon>
<InputText v-model="value2" />
<InputText />
</IconField>
</div>
)
Expand All @@ -75,12 +75,12 @@ export default function BasicDemo() {
<div className="flex gap-3">
<IconField iconPosition="left">
<InputIcon className="pi pi-search" />
<InputText v-model="value1" placeholder="Search" />
<InputText placeholder="Search" />
</IconField>

<IconField>
<InputIcon className="pi pi-spin pi-spinner" />
<InputText v-model="value2" />
<InputText />
</IconField>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions components/doc/iconfield/templatedoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function TemplateDoc(props) {
<path d="..." fill="var(--primary-color)" />
</svg>
</InputIcon>
<InputText v-model="value1" placeholder="Search" />
<InputText placeholder="Search" />
</IconField>
`,
javascript: `
Expand Down Expand Up @@ -75,7 +75,7 @@ export default function TemplateDemo() {
<path d="..." fill="var(--primary-color)" />
</svg>
</InputIcon>
<InputText v-model="value1" placeholder="Search" />
<InputText placeholder="Search" />
</IconField>
)
}
Expand Down Expand Up @@ -116,7 +116,7 @@ export default function TemplateDemo() {
<path d="..." fill="var(--primary-color)" />
</svg>
</InputIcon>
<InputText v-model="value1" placeholder="Search" />
<InputText placeholder="Search" />
</IconField>
)
}
Expand Down Expand Up @@ -159,7 +159,7 @@ export default function TemplateDemo() {
<path d="M12.1762 10.1789L8.4462 9.794L10.8145 7.09967H13.5378L12.1762 10.1789Z" fill="var(--primary-color)" />
</svg>
</InputIcon>
<InputText v-model="value1" placeholder="Search" />
<InputText placeholder="Search" />
</IconField>
</div>
<DocSectionCode code={code} />
Expand Down
Loading