Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-5145

Chosenbox smart update emptyMessage doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 10.0.0
    • 8.5.1.3
    • None

      Steps to Reproduce

      <zk>
         <label multiline="true">
            1. click button to update empty message.
            2. you should see empty message is 'none'.
         </label>   <chosenbox id="cb" emptyMessage="empty..."/>
         <button label="update emptyMessage" onClick='cb.setEmptyMessage("none");'/>
         <zscript>
            String[] items = {
              "item 1", "item 2"
            };
            ListModel dictModel = new SimpleListModel(items);
            cb.setModel(dictModel);
         </zscript>
      </zk>
      

      Current Result

        Empty message is "empty...".

      Expected Result

        Empty message is "none". 

       

            katherinelin katherinelin
            katherinelin katherinelin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified