grav-plugin-simplesearch icon indicating copy to clipboard operation
grav-plugin-simplesearch copied to clipboard

The minimum number of characters check does not work

Open petira opened this issue 5 years ago • 1 comments

The form allows you to submit fewer characters than the set minimum in the configuration. This is probably related to this improvement: https://github.com/getgrav/grav-plugin-simplesearch/pull/165.

petira avatar May 16 '20 08:05 petira

search

Enter works correctly, the problem is only when using the Search button. This is probably related to verifying the data-min value in simplesearch.js.

search

However, the form can be submitted with one character only, although the minimum is 3 characters. The behavior is random, I did not find any rules.

petira avatar Nov 09 '20 14:11 petira