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

flags to control Long comboitem label causing endless growth of combobox drop down menu

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Normal Normal
    • 8.0.3
    • 8.0.0, 7.0.6.1
    • Components
    • Security Level: Jimmy
    • None
    • ZK 8.0.3 S2, ZK 8.0.3 S4, ZK 8.0.3 S5, ZK 8.0.3 S6

      Using a long comboitem value cause the combobox popup to grow without limit.
      reproduced with:

      <zk>
      	<combobox value="default value">
      		<comboitem>
      			long long long long long long long long long long long long
      			long long long long long long long long long long long long
      			long long long long long long long long long long long long
      			long long long long long long long long long long long long
      			long long long long long long long long long long long long
      			long long long long long long long long long long long long
      			long long long long long long long long long long long long
      			long long long long long long long long long long long long
      			long long long long long long long long comboitem value
      		</comboitem>
      		<comboitem>two</comboitem>
      		<comboitem>three</comboitem>
      	</combobox>
      </zk>
      

      In the current specs the popup grow indefinitely.
      If possible: creating a flag to force the popup size to follow the size of the combobox? Or a popupWidth attribute (with auto: follow combobox size and another flag for the original behavior)
      Possibly using text-overflow:ellipsis and overflow:hidden to show [...] when the content is too big for the popup.

            wenninghsu wenninghsu
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 2 hours
                2d 2h