Open lukegalea opened 11 years ago
We'd like to define validations dynamically.. something like this:
validations: (-> if @get 'required' value: presence: true ).property 'required'
But if validations is defined as a computed property it's always empty (overridden by mixin somehow??)
We'd like to define validations dynamically.. something like this:
But if validations is defined as a computed property it's always empty (overridden by mixin somehow??)