Cutomize Minimum Length Validation Message

Created on 6 April 2023, almost 2 years ago
Updated 7 May 2023, almost 2 years ago

Problem/Motivation

In search_api_fulltext views filter, we cannot edit the error/validation message that gets displayed when minimum keyword length is not met. The hard coded message is "You must include at least one positive keyword with @count characters or more." Some of our users find it confusing, and we would like to replace the error/validation text.

Steps to reproduce

N/A

Proposed resolution

See the patch in Comment #2. Basically, we are proposing addition of a textfield that can be used for providing custom validation message (right below min_length input).

Remaining tasks

There could be other views filter plugins in search_api with validation messages that are also not editable.

āœØ Feature request
Status

Closed: won't fix

Version

1.0

Component

Views integration

Created by

šŸ‡ŗšŸ‡øUnited States zd370

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

Comments & Activities

Production build 0.71.5 2024