Login Component: RangeError: Maximum call stack size exceeded on autofill Chrome
- Dominant language
- TypeScript
- Stars
- 25.7k
- Forks
- 7.9k
- PR merge metrics
- No merged PRs in 30d
Description
### Issue type
**I'm submitting a ...** (check one with "x")
* [x] bug report
* [ ] feature request
* [ ] question about the decisions made in the repository
### Issue description
**Current behavior:**
If Chrome autofills the login component (username and password) a RangeError: Maximum call stack size exceeded error occurs and you are unable to login. If switched to Incognito or Safari components works as aspected.
**Expected behavior:**
Let chrome autofill the fields an allow login to happen
**Steps to reproduce:**
Downloaded ngx-admin starter kit and add custom login component.
**Related code:**
```
vendor.js:110287 RangeError: Maximum call stack size exceeded
at SimpleInnerSubscriber._error (vendor.js:111211)
at SimpleInnerSubscriber.error (vendor.js:110826)
at SwitchMapSubscriber._error (vendor.js:110846)
at SwitchMapSubscriber.error (vendor.js:110826)
at SwitchMapSubscriber._error (vendor.js:110846)
at SwitchMapSubscriber.error (vendor.js:110826)
at CatchSubscriber._error (vendor.js:110846)
at CatchSubscriber.error (vendor.js:110826)
at CatchSubscriber.error (vendor.js:113671)
at MapSubscriber._error (vendor.js:110846)
```
### Other information:
**npm, node, OS, Browser**
```
Node version 12.18.1 , NPM version 6.14.8
OS: Macos Catalina
Browser: Chrome 84.0.4147.135
```
**Angular, Nebular**
```
"dependencies": {
"@akveo/ng2-completer": "^9.0.1",
"@angular/animations": "^10.0.10",
"@angular/cdk": "^10.1.3",
"@angular/common": "^10.0.10",
"@angular/compiler": "^10.0.10",
"@angular/core": "^10.0.10",
"@angular/forms": "^10.0.10",
"@angular/google-maps": "^10.1.3",
"@angular/material": "^10.1.3",
"@angular/platform-browser": "^10.0.10",
"@angular/platform-browser-dynamic": "^10.0.10",
"@angular/router": "^10.0.10",
"@nebular/auth": "6.0.0",
"@nebular/eva-icons": "6.0.0",
"@nebular/security": "6.0.0",
"@nebular/theme": "6.0.0",
///...
```
Contributor guide
Assessment
This issue has not been assessed yet.