Select other error on apostrophe

Created on 3 June 2024, 24 days ago
Updated 24 June 2024, 3 days 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

Postponed: needs info

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

  • Issue created by @joycehutch
  • Status changed to Postponed: needs info 3 days ago
  • πŸ‡ΊπŸ‡ΈUnited States jrockowitz Brooklyn, NY

    I am not able to replicate this issue using the attached webform.

    What theme are you using?

Production build 0.69.0 2024