@reactables/forms 2.0.0-beta.0 → 2.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -209,7 +209,7 @@ var getScopedEffectsForControl = function (formControl, providers) {
|
|
|
209
209
|
return actions$.pipe(operators.map(function (_a) {
|
|
210
210
|
var control = _a.payload;
|
|
211
211
|
return control;
|
|
212
|
-
}), providers.asyncValidators[asyncValidator], operators.
|
|
212
|
+
}), providers.asyncValidators[asyncValidator], operators.switchMap(function (errors$) {
|
|
213
213
|
return rxjs.concat(rxjs.of({ type: 'asyncValidation', payload: controlRef }), errors$.pipe(operators.map(function (errors) { return ({
|
|
214
214
|
type: 'asyncValidationResponse',
|
|
215
215
|
payload: {
|