graham73may / bolt-conditional-fields

A Bolt CMS extension to add conditional fields support to the backend.
MIT License
14 stars 5 forks source link

[WIP] Multiple conditions #4

Open graham73may opened 7 years ago

graham73may commented 7 years ago

Accept multiple conditions to hide/show a field.

Example config:

condition:
[
    field: field_one
    operator: '='
    show: true
    value: [ 'page' , 'this', 'that']
] , [
    field: field_two
    operator: '='
    show: true
    value: [ 'page' , 'this', 'that']
]