Merge pull request 'feat: update placeholder text for cuenta input based on validation type' (#17) from develop into master
Reviewed-on: #17
This commit was merged in pull request #17.
This commit is contained in:
@@ -358,7 +358,15 @@ export default function FormularioRegistro({
|
||||
<SimpleInput
|
||||
type="text"
|
||||
name="cuenta"
|
||||
placeholder="Ingrese su cuenta"
|
||||
placeholder={
|
||||
preguntaCuenta.validacion === 'cuenta_alumno'
|
||||
? 'Ingrese su cuenta'
|
||||
: preguntaComunidad?.validacion === 'rfc'
|
||||
? 'Ingrese su RFC sin homoclave'
|
||||
: preguntaComunidad?.validacion === 'cuenta_trabajador'
|
||||
? 'Ingrese su numero de trabajador'
|
||||
: 'Ingrese su ' + preguntaCuenta.pregunta
|
||||
}
|
||||
maxLength={10}
|
||||
value={respuestas[preguntaCuenta.id_pregunta] || ''}
|
||||
onChange={(e) =>
|
||||
|
||||
Reference in New Issue
Block a user