Allow to distinguish default button in overlay dialogs

UI Components for Angular
Post Reply
User avatar
mlapis
Posts: 4
Joined: 15 Aug 2016, 15:02

15 Aug 2016, 15:43

Hello,

it would be nice and also beneficial to have a possibility to distinguish default button in overlay dialogs and allow using ENTER to press it without using a mouse click (just only using keyboard). Today, all buttons have the same appearance and ENTER does not work. This would work hand in hand together with ESC functionality and allow very quick movement through dialogs without mouse clicking.

The result can be like the following example: https://postimg.org/image/g0vzla2tr

Silent3
Posts: 22
Joined: 07 Feb 2017, 17:19

15 Feb 2017, 22:23

I'm surprised no one else has commented on this until now. I second the motion. Having the Enter/Return key be equivalent to clicking on a default button, a default button that is differently styled, would be much appreciated.

bsvancara
Posts: 7
Joined: 06 May 2016, 13:18

21 Mar 2017, 00:22

I am also surprised that a default button is a missing feature.
I believe it is a fundamental thing.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 9 guests