File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 3030
3131<form class =" form-confirmation" on:submit |preventDefault >
3232
33- <WarningLabel content =" Enviamos um email para você confirmar sua conta. Entre no seu email e clique no link para poder efetuar o login." />
33+ <WarningLabel
34+ content =" Enviamos um email para você confirmar sua conta. Entre no seu email
35+ e clique no link para poder efetuar o login." />
3436
3537 <FieldCollab
3638 content =" Não recebeu o e-mail?"
Original file line number Diff line number Diff line change 1818
1919 async function saveUser () {
2020 const { status , data } = await UserService .save (user)
21+ const { field , error } = data[0 ]
2122
2223 if (status === 201 ) {
2324 goto (' confirmation' )
5051 placeholder =" Seu nome"
5152 required
5253 minlength =" 2"
54+ messageError ={msgError .name }
55+ invalid ={!! msgError .name }
5356 pattern =" [A-Za-záàâãéèêíïóôõöúçñÁÀÂÃÉÈÍÏÓÔÕÖÚÇÑ ]+"
5457 onInput ={updateUser } />
5558
5962 type =" email"
6063 name =" email"
6164 placeholder =" example@gmail.com"
65+ messageError ={msgError .email }
66+ invalid ={!! msgError .email }
6267 required
6368 onInput ={updateUser } />
6469
7075 placeholder =" ********"
7176 required
7277 minlength =" 8"
78+ messageError ={msgError .password }
79+ invalid ={!! msgError .password }
7380 onInput ={updateUser } />
7481
7582 <ButtonCollab content =" Enviar" />
You can’t perform that action at this time.
0 commit comments