append( Text::make('login') ->label(__('Username', 'give')) ->placeholder(__('Enter your username or email', 'give')) ) ->append( Password::make('password') ->label(__('Password', 'give')) ->placeholder(__('Enter your password', 'give')) ); } public function required($value = true): self { $this->required = $value; return $this; } public function isAuthenticated($value = true): self { $this->isAuthenticated = $value; return $this; } public function loginRedirect($value = true): self { $this->loginRedirect = $value; return $this; } public function loginRedirectUrl($value): self { $this->loginRedirectUrl = $value; return $this; } public function loginNotice($value): self { $this->loginNotice = $value; return $this; } public function loginConfirmation($value): self { $this->loginConfirmation = $value; return $this; } public function lostPasswordUrl($value): self { $this->lostPasswordUrl = $value; return $this; } }