mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 22:49:33 +00:00
Indicate valid and invalid fields in signup form (#1450)
* Use was-validated class in signup form * Update signup.tsx * Update signup.tsx --------- Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
This commit is contained in:
parent
7d63117c28
commit
7efc136ff5
|
@ -140,7 +140,10 @@ export class Signup extends Component<any, State> {
|
||||||
registerForm() {
|
registerForm() {
|
||||||
const siteView = this.state.siteRes.site_view;
|
const siteView = this.state.siteRes.site_view;
|
||||||
return (
|
return (
|
||||||
<form onSubmit={linkEvent(this, this.handleRegisterSubmit)}>
|
<form
|
||||||
|
className="was-validated"
|
||||||
|
onSubmit={linkEvent(this, this.handleRegisterSubmit)}
|
||||||
|
>
|
||||||
<h5>{this.titleName(siteView)}</h5>
|
<h5>{this.titleName(siteView)}</h5>
|
||||||
|
|
||||||
{this.isLemmyMl && (
|
{this.isLemmyMl && (
|
||||||
|
|
Loading…
Reference in a new issue