AdamPiotrowski91 / RVI_Ideas

Repository to store Enhancement Requests, Defects and Ideas for Rally Visual Improver PRO 3000
MIT License
1 stars 0 forks source link

[BUG]: Pressing ENTER editing any text input field of Rally Item actions first available RVI button #91

Closed AdamPiotrowski91 closed 2 months ago

AdamPiotrowski91 commented 3 months ago

Description As title says - for some reason pressing enter during edition actions first or last RVI added button.

Steps To Reproduce

  1. Open any item in Rally in fullscreen mode or in side panel
  2. Start editing it's name or any other text input (don't have to change anything)
  3. Press ENTER
  4. Observe some RVI action happening

Expected Behavior ENTER does not do anything, especially not unprompted

Screenshots

N/A

Environment: (Leave only applicable items.)

Additional context

Requestor: PO / me

AdamPiotrowski91 commented 2 months ago

This was the reason: https://stackoverflow.com/a/12914700

TL;DR: type="button" because by default it's submit so ENTER submits...