I can´t disable specifics dates in a input date.
I’m currently developing a Hotel Booking website, and I want to disable specific dates in a date input field. When I make a reservation for a room, that room is reserved for other dates as well. Therefore, I need to disable specific dates. How can I do that?.
<input (input)="ponerPrecio()" [min]="fechaMinima" [(ngModel)]="fechaSalida" #fechaFinalInput id="fechaFin" name="fechaFinal" type="date" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5" placeholder="Fecha de salida">
New contributor
Ruben Castro galindo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.