react-month-picker-input icon indicating copy to clipboard operation
react-month-picker-input copied to clipboard

closeOnSelect doesn't work if component is inside label

Open mihaildu opened this issue 5 years ago • 0 comments

closeOnSelect doesn't seem to work if I place MonthPickerInput inside <label>. Not sure what the desired behaviour would be here, but I'm used to place form fields inside labels so I would expect the closeOnSelect to still work.

This is the code:

<label>
  Some label
  <MonthPickerInput closeOnSelect={true} />
</label>

mihaildu avatar Apr 01 '19 17:04 mihaildu