primereact icon indicating copy to clipboard operation
primereact copied to clipboard

Calendar: Property 'Mask' on Calendar

Open Yuta4u opened this issue 2 years ago • 1 comments

Describe the bug

so, i have calendar with 'mask' property, and when the value calendar is null...there is no problem, but..when you have already a value calendar, and u try to select again...the value is null at the first time.

Reproducer

https://stackblitz.com/edit/y5bojd?file=src%2FApp.jsx

PrimeReact version

10.5.1

React version

17.x

Language

ES6

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

  1. select 2 date
  2. close the calendar
  3. and try to select again
  4. you need to click once more(BUG) to be able to choose again

Expected behavior

i dont need to click once more to select again

Yuta4u avatar Feb 26 '24 08:02 Yuta4u

Oh, the issue was resolved :)

https://primereact.org/calendar/#range

KumJungMin avatar Jul 02 '24 23:07 KumJungMin