Skip to content

hidden unless does not work if condition is other question with LDAP Select 2.8.3 #1454

@achekmez

Description

@achekmez

hidden unless does not work if condition is other question with LDAP Select with plugin version 2.8.3 glpi version 9.4.3

To Reproduce
Steps to reproduce the behavior:

  1. make question
    type = LDAP Select,
    filter = (& (samaccountname=) (& (displayName=) (&(objectCategory=person)(objectClass=user)(memberOf:1.2.840.113556.1.4.1941:= cn=DG MP All Staff, OU=SharedMailboxes,OU=Moscow, DC=mpmsk, DC=corp)(givenName=)(sn=))))
    Attribute = (LDAP) City
  2. make second question
    show field = hidden unless
    1st question = (in my case for ex) Moscow
  3. try the form

expecting when in 1st question choose Moscow 2nd question should appear - but it does not.

Screenshots
If applicable, add screenshots to help explain your problem.
image
image
image
image

Desktop (please complete the following information):

  • OS: Win10
  • Browser chrome

it workes in plugin version 2.5.2 glpi ver 9.2.2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions