States API not working for anonymous user

Created on 23 June 2023, over 1 year 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

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

9.5

Component
Javascript 

Last updated about 6 hours ago

Created by

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

Comments & Activities

Production build 0.71.5 2024