mirror of
https://github.com/lemeow125/React-NotesApp.git
synced 2024-11-17 06:29:28 +08:00
Merge pull request #13 from lemeow125/hotfix/registration
Removed limits on form content length on login and registration
This commit is contained in:
commit
37d67ced7d
2 changed files with 0 additions and 5 deletions
|
@ -32,7 +32,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}>
|
||||||
|
@ -44,7 +43,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
|
||||||
|
|
|
@ -26,7 +26,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}>
|
||||||
|
@ -37,7 +36,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}>
|
||||||
|
@ -49,7 +47,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