¿Hay alguna manera de diseñar o eliminar este botón claro de la ventana emergente del calendario que viene con el selector de fecha y hora html5? No está borrando mi campo y me gustaría eliminarlo o editarlo ya que no funciona correctamente.
Aquí está el html de entrada
<label for="rowKeyStartDate">Start Date/Time: </label> <mat-form-field appearance="outline"> <input matInput id="rowKeyStartDate" type="datetime-local" step="0.001" formControlName="rowKeyStartDate" required> </mat-form-field>Implícitamente, una forma en que funciona el botón Borrar es agregar un elemento <button> oculto:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Test Application</title> <link rel="stylesheet" href="style.css"> </head> <body> <input id="el" type="datetime-local"> <button onclick="javascript:el.value=''" hidden></button> </body> </html>