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

Bandbox button's icon can be changed

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: 8.6.1
    • Fix Version/s: 8.6.2
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 8.6.2 S2

      Description

      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>
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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