Skip to content

Using tags (or any field with array) as source of the expression using "in" function doesnt work #163

Description

@hibasalem

Environment

all

Reproduction

 schema: {
        tags: {
          type: 'tags',
          closeOnSelect: false,
          search: true,
          items: [
            {
              value: 'a',
              label: 'Label',
            },
          ],
          label: 'Tags',
          inputType: 'search',
          autocomplete: 'off',
        },
        text: {
          type: 'text',
          label: 'Text',
          expression: "{tags in ['a'] ? 'yes' : 'no'}",
        },
      },

Describe the bug

Using tags (or any field with array) as source of the expression using in function doesnt work correctly ( it always goes to the else)

Demo._.Vueform.Builder.-.Drag.And.Drop.Form.Builder.for.Vue.js.mp4

Additional context

No response

Logs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions