Open tknerr opened 10 years ago
The Uno-Choice plugin, which allows you create cascading choice select boxes, is awesome too: https://github.com/biouno/uno-choice-plugin/wiki/Uno-Choice-Cascade-Dynamic-Choice-Parameter
However, it does not work together with an inheritance project. This is the example I used (see link above):
if (binding.variables.get('Gender') != null) { gender = binding.variables.get('Gender') if (gender == 'Male') return ['Waiter', 'Actor', 'Usher'] else return ['Waitress', 'Actress', 'Usherette'] } else { return [] }
It seems that binding.variables.get('Gender') does not work when being used in an inheritance project, i.e. the example above always returns [].
binding.variables.get('Gender')
[]
The Uno-Choice plugin, which allows you create cascading choice select boxes, is awesome too: https://github.com/biouno/uno-choice-plugin/wiki/Uno-Choice-Cascade-Dynamic-Choice-Parameter
However, it does not work together with an inheritance project. This is the example I used (see link above):
It seems that
binding.variables.get('Gender')
does not work when being used in an inheritance project, i.e. the example above always returns[]
.