You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] bug report => Search github for a similar issue or PR before submitting
[X] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35
Current behavior
Unable to elegantly react to focus event on the calendar input field. I have a wrapping component that needs to change its display when the calendar's input field gains focus. Currently need to use something like renderer.listen(hostEl.nativeElement.querySelector('p-calendar input'), 'focus'... to achieve this.
This component already as an onBlur event, would be nice to include onFocus for parity.
cagataycivici
added
the
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
label
Jan 11, 2017
I'm submitting a ... (check one with "x")
Current behavior
Unable to elegantly react to focus event on the calendar input field. I have a wrapping component that needs to change its display when the calendar's input field gains focus. Currently need to use something like renderer.listen(hostEl.nativeElement.querySelector('p-calendar input'), 'focus'... to achieve this.
This component already as an onBlur event, would be nice to include onFocus for parity.
Expected behavior
<p-calendar
[(ngModel)]="value"
(onBlur)="onBlur($event)"
(onFocus)="onFocus($event)">
What is the motivation / use case for changing the behavior?
See above.
The text was updated successfully, but these errors were encountered: