Bandbox button's icon can be changed

XMLWordPrintable

    • Type: New Feature
    • Resolution: Done
    • Priority: Normal
    • 8.6.2
    • Affects Version/s: 8.6.1
    • Component/s: None
    • Security Level: Jimmy
    • None
    • ZK 8.6.2 S2
    • None

      Use Case

      a user wants to build a date range selector, the default icon, a magnifier, doesn't suit fit for such use case. It's better that Bandbox can provide an attribute to change the icon e.g.

      <bandbox buttonSclass="z-icon-calenar"/>
      

      That will make bandbox fit in various use case.

      Workaround

      <zk xmlns:n="native" xmlns:w="client">
          <bandbox w:getIconClass_="() => 'z-icon-calendar'"/>
      </zk>
      

            Assignee:
            Leon03
            Reporter:
            hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h