JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › General Discussions › applyTemplate DropdownList Angular error
Tagged: angular dropdownlist error
- This topic has 7 replies, 3 voices, and was last updated 2 years, 7 months ago by admin.
-
AuthorPosts
-
May 11, 2022 at 7:12 am #103202AngelParticipant
Hi, I’m using Angular and I get this error in DropdownList component:
core.mjs:6485 ERROR TypeError: Cannot read properties of null (reading ‘_applyTemplate’)
at BaseElement.propertyChangedHandler (smart.grid.js:1563:3349)
at BaseElement.t.updateProperty (smart.toast.js:20:74796)
at BaseElement.set [as value] (smart.toast.js:20:75930)
at ListItemComponent.set value [as value] (smart-webcomponents-angular-textbox.js:882:1)
at Object.ngOnChangesSetInput [as setInput] (core.mjs:1519:1)
at setInputsForProperty (core.mjs:10976:1)
at elementPropertyInternal (core.mjs:10023:1)
at Module.ɵɵproperty (core.mjs:14446:1)
at LogisticaArticulosComponent_Template (logistica-articulos.component.html:11:46)
at executeTemplate (core.mjs:9618:1)How can i fix it?
In HTML:
<div class="form row form-inline-small margin-left-large"> <label for="fueraserieartic">Fuera de serie</label> <smart-drop-down-list [selectedIndexes]="[0]" form-control-name="fueraserieartic" name="fueraserieartic" id="fueraserieartic" [disabled]="blocked"> <smart-list-item [value]="'S'">Sí</smart-list-item> <smart-list-item [value]="'N'">No</smart-list-item> </smart-drop-down-list> </div>
Thanks!
May 11, 2022 at 7:44 am #103204adminKeymasterHi Angel,
Could you share stackblitz sample as it seems you’re using a combination of components like toast, grid, dropdownlist and it is not easy to reproduce this?
For example, you can modify and share this sample https://stackblitz.com/github/htmlelements/smart-webcomponents-angular/tree/master/demos/dropdownlist/basic/?file=src%2Fapp%2Fapp.component.ts
Looking forward to your reply.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/May 11, 2022 at 8:22 am #103206AngelParticipantHi Peter,
Can we share code by email? We can’t post our code in a public site, because we have confidential data.
We are interested in purchase your license, but we need to solve this errors to make sure that this components satisfy our requirements.
Thank you,
Angel
May 11, 2022 at 10:21 am #103208martin-jqParticipantHello Angel,
Yes, you can send your code example to support@jqwidgets.com.
Best Regards,
MartinSmart HTMLElements Team
https://www.htmlelements.com/May 11, 2022 at 1:33 pm #103212AngelParticipantThanks Martin!
May 11, 2022 at 11:39 pm #103220adminKeymasterHi Angel,
I checked our support mail and could not find an email by you. If it is more convenient, you can also share a small stackblitz example which uses dummy data and just shows an issue. That will be enough for us.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/May 12, 2022 at 6:37 am #103224AngelParticipantHi Peter,
I send a mail but your server blocked with and send me this message:
<span style=”font-size: 10.0pt; font-family: ‘Tahoma’,sans-serif; color: gray;”>Remote Server returned ‘552-5.7.0 This message was blocked because its content presents a potential 552-5.7.0 security issue. Please visit 552-5.7.0 https://support.google.com/mail/?p=BlockedMessage to review our 552 5.7.0 message content and attachment content guidelines. i20-20020a05640242d400b0042400778e80si6954893edc.501 – gsmtp’.</span>
What can I do to contact support without being blocked by the server?
Thank you!
Àngel Torregrosa
May 12, 2022 at 3:26 pm #103228adminKeymasterHi Àngel,
We resolved the reported issue in the today’s smart-webcomponents-angular build. You can update your version.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/ -
AuthorPosts
- You must be logged in to reply to this topic.