arreglar inputs de tiempos
This commit is contained in:
		
							parent
							
								
									ac0984d5af
								
							
						
					
					
						commit
						89134ec7a6
					
				|  | @ -22,8 +22,8 @@ const AreasComunes = () => { | ||||||
|     let emptyCommonArea = { |     let emptyCommonArea = { | ||||||
|         _id: null, |         _id: null, | ||||||
|         name: '', |         name: '', | ||||||
|         hourMin: '', |         hourMin: '00:00', | ||||||
|         hourMax: '', |         hourMax: '01:00', | ||||||
|         community_id: '', |         community_id: '', | ||||||
|         bookable: '1', |         bookable: '1', | ||||||
|         bookable_text: '', |         bookable_text: '', | ||||||
|  | @ -444,7 +444,9 @@ const AreasComunes = () => { | ||||||
|                         <div className="field col-12 md:col-6"> |                         <div className="field col-12 md:col-6"> | ||||||
|                             <label htmlFor="hourMin">Hora apertura</label> |                             <label htmlFor="hourMin">Hora apertura</label> | ||||||
|                             <InputText id="hourMin" |                             <InputText id="hourMin" | ||||||
|                                 type="text" |                                 type="time" | ||||||
|  |                                 min="00:00" max="23:59" | ||||||
|  |                                 step="3600000" | ||||||
|                                 onChange={(e) => onInputChange(e, 'hourMin')} |                                 onChange={(e) => onInputChange(e, 'hourMin')} | ||||||
|                                 value={commonArea.hourMin} |                                 value={commonArea.hourMin} | ||||||
|                                 required |                                 required | ||||||
|  | @ -460,7 +462,9 @@ const AreasComunes = () => { | ||||||
|                         <div className="field col-12 md:col-6"> |                         <div className="field col-12 md:col-6"> | ||||||
|                             <label htmlFor="hourMax">Hora de cierre</label> |                             <label htmlFor="hourMax">Hora de cierre</label> | ||||||
|                             <InputText id="hourMax" |                             <InputText id="hourMax" | ||||||
|                                 type="text" |                                 type="time" | ||||||
|  |                                 min="00:00" max="23:59" | ||||||
|  |                                 step="3600000" | ||||||
|                                 onChange={(e) => onInputChange(e, 'hourMax')} |                                 onChange={(e) => onInputChange(e, 'hourMax')} | ||||||
|                                 value={commonArea.hourMax} |                                 value={commonArea.hourMax} | ||||||
|                                 required |                                 required | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue