Open adamcoots opened 2 years ago
Currently, validation schema is set only once when the component loads.
Allow validation schema to be dynamic, potentially passing a computed property to validate based on conditions. Ex:
schema = { phone: this.phone ? [validators.minLength(10)] : [], }
Describe the Feature
Currently, validation schema is set only once when the component loads.
Allow validation schema to be dynamic, potentially passing a computed property to validate based on conditions. Ex: