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

Combobox and Bandbox ignore type="password"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.5.0
    • 8.0.5
    • Components
    • None

      Steps to Reproduce

      <combobox type="password"/>
      

      Current Result

      type="password" missing on the input element

      Expected Result

      type="password" on the input element

      Debug Info

      server side Combobox extends Textbox (providing the setType() method)
      client side Combobox only inherits from InputWidget missing the implementation for setType (present at zul.inp.Textbox)

      Workaround

      add the password type via client side listener:

      passwordCombo.setWidgetListener("onBind", "this.getInputNode().type='password';");
      

            DevChu DevChu
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 10 minutes
                1h 10m