Uploaded image for project: 'InvoicePlane'
  1. InvoicePlane
  2. IP-719

Remove search box in dropdown lists when not needed

    XMLWordPrintable

    Details

      Description

      Remove the search box from the Select2 dropdown lists when not
      needed, for instance, when there is a short number of options or options are
      hard coded (e.g. yes/no questions).

      Fixed by adding 'data-minimum-results-for-search="Infinity"' to the select tag, from

       

      <select name="client_gender" id="client_gender" class="form-control simple-select">
      

       

      to

       

      <select name="client_gender" id="client_gender" class="form-control simple-select" data-minimum-results-for-search="Infinity">
      

       

      Fix found in:

        Gliffy Diagrams

          Attachments

            Structure

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  miquel-cabanas miquel-cabanas
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel