-
Notifications
You must be signed in to change notification settings - Fork 688
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: replace Input with FormControl wherever possible
- Loading branch information
1 parent
21f0384
commit 3c93a8f
Showing
5 changed files
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,13 @@ | |
</div> | ||
<div class="mx-auto mt-6 w-full px-8 sm:w-96"> | ||
<form class="flex flex-col space-y-4" @submit.prevent="submit"> | ||
<Input | ||
<FormControl | ||
label="Email" | ||
placeholder="[email protected]" | ||
v-model="email" | ||
:type="email !== 'Administrator' ? 'email' : 'text'" | ||
/> | ||
<Input | ||
<FormControl | ||
label="Password" | ||
type="password" | ||
placeholder="••••••" | ||
|
@@ -32,7 +32,7 @@ | |
<script setup> | ||
import { IonPage, IonContent } from "@ionic/vue" | ||
import { inject, ref } from "vue" | ||
import { Input, Button } from "frappe-ui" | ||
import { Button, FormControl } from "frappe-ui" | ||
const email = ref(null) | ||
const password = ref(null) | ||
|