Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1640

Add a "max-results" attribute to nuxeo-path-suggestion

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.x
    • Component/s: Widgets

      Description

      Currently the number of results displayed by nuxeo-path-suggestion is hardcoded to 10.

      This request is to have a new attribute "max-results" which would let configure how many results are displayed. It would impact 2 parts of the elements :

      • the page provider used by nuxeo-path-suggestion
      • the element "paper-typeahead" used to display the results

      Final usage would look like:

      <nuxeo-path-suggestion max-results="20" value="{{path}}" label="[[i18n('defaultSearch.path')]]" role="widget"></nuxeo-path-suggestion>
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tmartins Thierry Martins
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: