grav-plugin-simplesearch
grav-plugin-simplesearch copied to clipboard
The minimum number of characters check does not work
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.

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.

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.