onurmenal / crm-power-pane

The CRM Power Pane is a helper tool designed to integrate with Microsoft Dynamics CRM application and allow you to manipulate forms or perform actions faster throughout the Microsoft Dynamics CRM application .
MIT License
69 stars 25 forks source link

Press enter key simulates Ok button click. #89

Closed k-babych-ua closed 4 years ago

k-babych-ua commented 4 years ago

:clipboard: Description

@onurmenal

Added function on key press to handle Enter key and simulate click "Ok" button for beter UX.

:white_check_mark: Code Review Checklist

I tested the extension for the following browsers:

I tested the extension on the following versions of the product:

mehmetseckin commented 4 years ago

Thanks for your contribution, this looks good! Maybe the next step would be to close the dialog / simulate cancel via ESC?

k-babych-ua commented 4 years ago

Thanks for your contribution, this looks good! Maybe the next step would be to close the dialog / simulate cancel via ESC?

Good idea. To be honest, I didn't suffer so much from it as from lacking of Ok logic by pressing Enter button :) But it will be helpful and logical next step. I think I will have time to add it this week.