lib/dataminer/ui_rules/parameter_rule.rb
# TODO: new behaviour: toggle enabled based on chosen/not chosen value
new behaviour: toggle enabled based on chosen/not chosen value
new behaviour : toggle enabled based on chosen / not chosen value
def add_behaviours
      behaviours do |behaviour|
        behaviour.enable :list_def, when: :control_type, changes_to: ['list']
      end
    end
def add_behaviours behaviours do | behaviour | behaviour . enable :list_def , when : :control_type , changes_to : [ 'list' ] end end
TODO: new behaviour: toggle enabled based on chosen/not chosen value
TODO : new behaviour : toggle enabled based on chosen / not chosen value
# behaviour.enable :table, when: :applet, changes_to: [''] # ANY VALUE.... # behaviour.enable :field, when: :applet, changes_to: ['']