Select other error on apostrophe

Created on 3 June 2024, 6 months ago

Problem/Motivation

If I enter input including an apostrophe in a Select Other field, the following error is returned:

TypeError*: twig_matches(): Argument #2 ($str) must be of type ?string, array given, called in /app/vendor/twig/twig/src/Environment.php(360) : eval()'d code on line 79 in *twig_matches()* (line *1028* of */app/vendor/twig/twig/src/Extension/CoreExtension.php*).

Steps to reproduce

1. Create a form with a Select Other field.
2. Test the field using input that includes an apostrophe.

πŸ› Bug report
Status

Active

Version

6.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States joycehutch Kansas City, MO

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

Comments & Activities

Production build 0.71.5 2024