Tucsky / aggr

Cryptocurrency trades aggregator
https://charts.aggr.trade/
GNU General Public License v3.0
801 stars 232 forks source link

Fixes SearchDialog content removed when trying to clear chart's name in PromptDialog #376

Closed adeacetis closed 8 months ago

adeacetis commented 8 months ago

This (4d7356b) fixes issue #375 by assigning dialogId to PromptDialog in DialogService and then checking if the latter is opened in SearchDialog when the BackSpace or Delete keys are pressed.

We also added a new behavior to the PromptDialog (be782ee). The input is now submitted when the user presses Enter. This makes the validation more intuitive.