Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
marcelr opened this issue Aug 1, 2023 · 0 comments
Open

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

marcelr opened this issue Aug 1, 2023 · 0 comments

Comments

@marcelr
Copy link
Collaborator

marcelr commented Aug 1, 2023

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant