States API not working for anonymous user

Created on 23 June 2023, about 1 year ago
Updated 21 September 2023, 9 months ago

Problem/Motivation

Added #states property for custom entity form fields. The states are working fine when we check in admin user. But it is not working for anonymous user, tried #states property in form_alter, also with conditional fields module. Didn't work. But working fine in webform which is also using FAPI states. Drupal 9. Also checked same in Node entity, same issue occurs

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Postponed: needs info

Version

9.5

Component
Javascript 

Last updated about 2 hours ago

Created by

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

Comments & Activities

Production build 0.69.0 2024