projects
/
lemmy-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d63117
)
Indicate valid and invalid fields in signup form (#1450)
author
dullbananas
<dull.bananas0@gmail.com>
Mon, 26 Jun 2023 19:57:23 +0000
(12:57 -0700)
committer
Jay Sitter
<jay@jaysitter.com>
Tue, 27 Jun 2023 00:12:41 +0000
(20:12 -0400)
* Use was-validated class in signup form
* Update signup.tsx
* Update signup.tsx
---------
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
src/shared/components/home/signup.tsx
patch
|
blob
|
history
diff --git
a/src/shared/components/home/signup.tsx
b/src/shared/components/home/signup.tsx
index a2d960dc675a5ba10f973e44e1673e9c5d73cb83..516cd43fb2282d09f31264b8b74ab3e38674efd4 100644
(file)
--- a/
src/shared/components/home/signup.tsx
+++ b/
src/shared/components/home/signup.tsx
@@
-140,7
+140,10
@@
export class Signup extends Component<any, State> {
registerForm() {
const siteView = this.state.siteRes.site_view;
return (
- <form onSubmit={linkEvent(this, this.handleRegisterSubmit)}>
+ <form
+ className="was-validated"
+ onSubmit={linkEvent(this, this.handleRegisterSubmit)}
+ >
<h5>{this.titleName(siteView)}</h5>
{this.isLemmyMl && (