mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2024-11-16 22:29:24 +08:00
Remove max length from login and registration forms
This commit is contained in:
parent
56ea2c4165
commit
679fdc96e8
2 changed files with 0 additions and 5 deletions
|
@ -42,7 +42,6 @@ export default function Login() {
|
||||||
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
|
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
|
||||||
setUser({ ...user, username: e.target.value });
|
setUser({ ...user, username: e.target.value });
|
||||||
}}
|
}}
|
||||||
maxLength={20}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div style={styles.flex_row}>
|
<div style={styles.flex_row}>
|
||||||
|
@ -55,7 +54,6 @@ export default function Login() {
|
||||||
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
|
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
|
||||||
setUser({ ...user, password: e.target.value });
|
setUser({ ...user, password: e.target.value });
|
||||||
}}
|
}}
|
||||||
maxLength={20}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button
|
||||||
|
|
|
@ -36,7 +36,6 @@ export default function Register() {
|
||||||
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
|
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
|
||||||
setUser({ ...user, email: e.target.value });
|
setUser({ ...user, email: e.target.value });
|
||||||
}}
|
}}
|
||||||
maxLength={20}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div style={styles.flex_row}>
|
<div style={styles.flex_row}>
|
||||||
|
@ -48,7 +47,6 @@ export default function Register() {
|
||||||
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
|
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
|
||||||
setUser({ ...user, username: e.target.value });
|
setUser({ ...user, username: e.target.value });
|
||||||
}}
|
}}
|
||||||
maxLength={20}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div style={styles.flex_row}>
|
<div style={styles.flex_row}>
|
||||||
|
@ -61,7 +59,6 @@ export default function Register() {
|
||||||
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
|
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
|
||||||
setUser({ ...user, password: e.target.value });
|
setUser({ ...user, password: e.target.value });
|
||||||
}}
|
}}
|
||||||
maxLength={20}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button
|
||||||
|
|
Loading…
Reference in a new issue