adrelino / qxex

Additional GUI widgets and utilities for qooxdoo apps.
http://adrelino.github.io/qxex
Eclipse Public License 1.0
4 stars 0 forks source link

Date Celleditor: Click on delete icon has no effect #4

Open marcelr opened 1 year ago

marcelr commented 1 year ago

Hi,

when I click on the delete icon, the text entry is not removed, the "execute" is not fired:

grafik

qxex.ui.form.DateField.js

        case "button2":
          control = new qx.ui.form.Button(); //null,xbGetQxIcon("16/actions/edit-delete.png"));
          control.setFocusable(false);
          control.setKeepActive(true);
          control.addState("inner");
          // Adding this has no effect:
          // control.addListener("click", e => {
          //  this.setValue(null);
          //});
          control.addListener("execute", e => {
            this.setValue(null);
          });
          this._add(control);
          break;

I have tried a "click" event, but this is not triggered as well.

The click on the delete icon closes the calendar popup (qxex.ui.control.DateChooser) - probably this inhibits the event firing?

Same issue with current chromium or firefox (tested on Linux).