Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

205
Views
Sytling DateTime-Calendario local Botón Borrar

¿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.

ingrese la descripción de la imagen aquí

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>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

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>

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!