Skip to content

Commit

Permalink
fix(mellow-react): resolve issue with check box
Browse files Browse the repository at this point in the history
  • Loading branch information
DominusKelvin committed Sep 20, 2024
1 parent efba971 commit 676a893
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions templates/mellow-react/assets/js/pages/auth/login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ export default function Login() {

function submit(e) {
e.preventDefault()
form.post('/login')
console.log(data)
// form.post('/login')
}
return (
<>
Expand Down Expand Up @@ -77,8 +78,8 @@ export default function Login() {
<input
id="rememberMe"
type="checkbox"
value={data.rememberMe}
onChange={(e) => setData('rememberMe', e.target.value)}
checked={data.rememberMe}
onChange={(e) => setData('rememberMe', !data.rememberMe)}
/>
<span>Remember me</span>
</label>
Expand Down

0 comments on commit 676a893

Please sign in to comment.