TypeError when anonymous users can't access existing contact field

Created on 9 April 2025, 10 days ago

1.0 Problem/Motivation
I have an "Existing Contact" field which is not available to anonymous users. However, this causes a type error in the JS that expects to find an "Existing Contact" element.

2.0 Detailed steps to reproduce (embed screenshots)
I'm having trouble coming up with a simple replication case - the permission interactions are complex! But hopefully the patch is trivial enough that it won't need one, since we're just checking that the variable exists.

3.0 Proposed resolution
PR will be submitted shortly.

πŸ› Bug report
Status

Active

Version

6.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States MegaphoneJon

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

Comments & Activities

Production build 0.71.5 2024