#Reactive form with custom validations
1 messages · Page 1 of 1 (latest)
- [ Getting Cannot read property 'indexOf' of null ] inside my custom space validator service
- it is also not redirecting to another page when trying to access the data showing JSON is not defined as something
I guess the value is null.
if we have some space at the end then we can handle it from this?
No idea what you mean.
value is null.
And you do not account for that.
So the error is expected.
for second issue ?
No the first.
One more issue is also there or am i missing something here as well
That error says what's wrong ...
I assume it's because of the if condition.
okay
are you able to test it on your local ?
No.
can you check please
No, I dont have time to pull everyones project one by one.
I am pretty sure that error is because of the if condition.
have you seen the issue for 2nd point as well ?
okay no issue
I would recommend elaborating on the issue, and not dropping in a github repo and assume people are going to run it.