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

Bandbox button's icon can be changed

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Normal Normal
    • 8.6.2
    • 8.6.1
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.6.2 S2

      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>
      

            Leon03 Leon03
            hawk 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