Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ItemChange event does not fire for backspace over

    On a textitem I have data rendered. The user highlights the *entire* piece of data, a string, and then hits the backspace to erase the contents of the TexttItem.

    I have and ItemChangedHandler set on the form. However, no ItemChangeEvent fires for this scenario.

    I need to have an event fire when data in a text item is completed deleted using the highlight of the entire string and backspace method.

    SmartGwt: 5.0-p20150816
    GWT 2.7.0
    Java 1.8

    #2
    We were not able to reproduce this issue according to your information.

    Please, update to the latest patched build and test this code:
    Code:
            DynamicForm form = new DynamicForm();
            form.setWidth(300);
            
            TextItem textItem = new TextItem();
            textItem.setTitle("Name");
            textItem.setName("name");
            
            form.addItemChangedHandler(new ItemChangedHandler() {
                @Override
                public void onItemChanged(ItemChangedEvent event) {
                    SC.say("Hello");
                }
            });
            form.setFields(textItem);
            form.draw();
    Regards
    Isomorphic Software

    Comment


      #3
      I have not downloaded anything for a while from your site. I have a contract for continuous upgrades. Would you please post a link to your latest patch release as I am not able to find it?
      Many Thanks,

      Comment


        #4

        Comment

        Working...
        X