Allow set up minimal search string length

Created on 7 September 2022, over 2 years ago
Updated 29 April 2023, over 1 year ago

Problem/Motivation

Allow users to see initial suggestiongs when minimal length is 0.

Proposed resolution

Make a setting for minimal string length in input and put it into js/tagify.js to tagify_args.dropdown.enabled

User interface changes

In form display settings in widget settings "minimal length" input added.

API changes

js/tagify.js:

let tagify_args = {
dropdown: {
enabled: $(input).attr('data-minimal-length'),
highlightFirst: true,
fuzzySearch: false,
},
whitelist: [],
}

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇷🇺Russia menelai

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024