547e011abe
Currently, the only way for a directive to export a validator is by providing a function. This makes it ackward to write validators that depend on directive inputs. In addition to supporting functions as validators, classes implementing the Validator interface are supported too. |
||
---|---|---|
.. | ||
directives_spec.ts | ||
form_builder_spec.ts | ||
integration_spec.ts | ||
model_spec.ts | ||
validators_spec.ts |