Trigger Clear Calendar manually

UI Components for React
Post Reply
aebmknrl
Posts: 1
Joined: 31 May 2018, 17:24

31 May 2018, 17:27

Hi, is possible to tigger the clear of a calendar component manually?
If i set value = null the date still seeing on the input of the form.

Is this possible? Thanks

aragorn
Posts: 3968
Joined: 29 Jun 2013, 12:38

01 Jun 2018, 11:18

When do you think to clear date? Exp; after you click a button ??

tabna
Posts: 3
Joined: 19 Feb 2020, 17:42

10 Mar 2020, 17:52

I'm also wondering about this. I want to extend the component to display an X icon in the field when it has a value, where clicking on the icon will clear the field.

cagatay.civici
Prime
Posts: 18256
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

12 Mar 2020, 17:10

Doesn't giving a null to the bound value clear it?

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest