UNPKG

@projectcaluma/ember-form-builder

Version:

Ember engine for building Caluma forms.

8 lines (7 loc) 176 B
export default function validateOptions() { return (_, newValue) => { return ( newValue.every((option) => option.get("isValid")) || "Invalid options" ); }; }