Hi Andom,
I would start with replacing it with something like:
result$ = concat(
this.http.get('/assets/a.json').pipe(catchError(e => EMPTY)),
this.http.get('/assets/b.json').pipe(catchError(e => EMPTY)),
this.http.get('/assets/c.json').pipe(catchError(e => EMPTY)),
of('No result found')
Experts,
I have a Reactive Form FormGroup where I have two FormControls:
my_form = new FormGroup({
ctrl1: new FormControl('foo', [Validator.validatorCtrl1]),
ctrl2: new FormControl('bar', [Valiator.validateCtrl2]),
},
{
validateOn: onSubmit // validate when
},
Now in my
Experts,
In Reactive Form in Angular6, is it possible to pass different validation
style (when to validate) for different formControls inside the same
FormGroup?
E.g. I want something like this:
myform = new FormGroup({
ctrl1: new FormControl('', [validators]);
ctrl2: new
Hello
I am using ngx pagination and it works well but it shows pagination like
PREV 1,220 NEXT
I WOULD LIKE TO SHOW ALWAYS THREE CURRENT PAGES LIKE
PRev 1,2,3 next and if we click next it should show 2,3,4 and so on at a
time three pages only.
Thaks
Devsur
--
Sent from my mi note 4