Topic: autocomplete - error: Cannot read property 'title' of nul
Damian Gemza staff answered 7 years ago
try { if (item===null) { throw {}; } } catch (err) { }
duong do commented 7 years ago
Dear Damian, You cannot reproduce this error? it's strange. We tried to add this code to our project but we still got the same error. Moreover, when we deployed our project to azure, this piece of code will be deleted after build. It's not a right solution. Which version do you use in the token by "ng-mdb-pro"? we use: git.mdbootstrap.com/mdb/angular/ng-pro.git#5.2.0 Browser: Google Chrome Versie 65.0.3325.162 (Officiële build) (64-bits) Can you send us your "node_modulesng-mdb-pro" map in .zip file? if you cannot reproduce this error that means we don't have the same library like you. We can provide you our authentication token if needed. Regards, DuongDamian Gemza staff commented 7 years ago
Dear Duong, I'm using our latest dev version of MDB (5.2.3 version). Today we should release new version of MDB Angular. You can download our latest dev builds from our GitLab dev branch. Best Regards, Damianosoverflow pro answered 7 years ago
Damian Gemza staff answered 7 years ago
duong do answered 7 years ago
Thanks Damian,
Adding "return" is solved this problem. Can you closed this topic?
Regards,
Duong
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: Yes
Damian Gemza staff commented 7 years ago
Dear Duong_do, of course, please send me a reproduction steps and sample code. It would help me, to debug your problem. Waiting to hear from you. Best Regards, Damianduong do commented 7 years ago
I tried to send you email but it returned error. I sent to "d.gemza@mdbootstrap.com" but somehow it sent to "gemza.damian@gmail.com". We did have contact around month ago via this email "d.gemza@mdbootstrap.com". However, you can download the sample code at "https://github.com/duong-do/NgMDB_Autocomplete" reproduce steps: 1) Start project 2) Select another country for instance Belgum 3) Delete m -> u ->g -> l. After delete the leter ‘l’, we get this error. ======================== Bronserver: mo10.mail-out.ovh.net gemza.damian@gmail.com gmail-smtp-in.l.google.com Remote Server returned '' Oorspronkelijke berichtkoppen: Return-Path: Received: from mail346.ha.ovh.net (unknown [10.109.101.131]) by mo10.mail-out.ovh.net (Postfix) with SMTP id 21E1F14D393 for ; Thu, 15 Mar 2018 21:38:07 +0100 (CET) Received: from localhost (HELO queueout) (127.0.0.1) by localhost with SMTP; 15 Mar 2018 22:38:06 +0200 Delivered-To: mdbootstrap.com-d.gemza@mdbootstrap.com Received: from localhost (HELO queue) (127.0.0.1) by localhost with SMTP; 15 Mar 2018 22:38:06 +0200 Received: from output36.mail.ovh.net (164.132.34.36) by mail.ovh.net with AES256-GCM-SHA384 encrypted SMTP; 15 Mar 2018 22:38:06 +0200 Received: from vr6.mail.ovh.net (unknown [10.101.8.6]) by out36.mail.ovh.net (Postfix) with ESMTP id 910DC7C6A for ; Thu, 15 Mar 2018 21:38:06 +0100 (CET) Received: from in66.mail.ovh.net (unknown [10.101.4.66]) by vr6.mail.ovh.net (Postfix) with ESMTP id 5E5CF37A0066 for ; Thu, 15 Mar 2018 21:38:06 +0100 (CET) Received-SPF: None (no SPF record) identity=mailfrom; client-ip=80.250.128.7; helo=mailgw1.aareon.com; envelope-from=duong.do@aareon.nl; receiver=d.gemza@mdbootstrap.com Received: from mailgw1.aareon.com (mailgw1.aareon.com [80.250.128.7]) by in66.mail.ovh.net (Postfix) with ESMTPS id 2B5D2AB for ; Thu, 15 Mar 2018 21:38:06 +0100 (CET) From: Duong Do To: Damian Gemza Subject: autocomplete - error: Cannot read property 'title' of nul - Category Angular