add onInputChange to inputs
This commit is contained in:
parent
435af70439
commit
2a325d4e2e
|
@ -614,6 +614,7 @@ const Inquilinos = () => {
|
||||||
type='email'
|
type='email'
|
||||||
className='form-control'
|
className='form-control'
|
||||||
id='correo_electronico'
|
id='correo_electronico'
|
||||||
|
onChange={(e) => onInputChange(e, 'email')}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className='field col-12 md:col-6'>
|
<div className='field col-12 md:col-6'>
|
||||||
|
@ -623,7 +624,7 @@ const Inquilinos = () => {
|
||||||
id='numero_vivienda'
|
id='numero_vivienda'
|
||||||
value={communityId}
|
value={communityId}
|
||||||
options={cList}
|
options={cList}
|
||||||
onChange={(e) => setCommunityId(e.value)}
|
onChange={(e) => onInputChange(e, 'community_id')}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<Button label='Registrar' onClick={saveTenant} />
|
<Button label='Registrar' onClick={saveTenant} />
|
||||||
|
|
Loading…
Reference in New Issue