Questions tagged [ng-lightning]
19 questions
2
votes
0 answers
Using external library in an angular library causes errors
We try to create a components library. These components are mainly wrappers around ng-lightning components.
We generated the lib project using Angular CLI.
The fact is we encounter errors when building the lib: Cannot determine the module for class…

BlackHoleGalaxy
- 9,160
- 17
- 59
- 103
2
votes
2 answers
In Angular version 4 how can I use ngModel with Formarray select objects
I have successfully set up a Formarray that has two controls. The controls are set in the HTML form as select objects. I can successfully push and display multiple element sets but when I try to change the value of the select object in the first…

Tony B.
- 91
- 4
- 14
2
votes
2 answers
ng-lightning with angular2+systemjs and NgModule
I tried to use ng-lightning (0.24.0) with angular2 (2.0.2) and systemjs module loader. The bundle loading is okay I think but when I try to call an ng-lightning template in an ngModule I've got template parse error. From a single component it is…

Dragi
- 57
- 5
1
vote
0 answers
Why doesn't the ng-lightning datepicker fire a (change) event when selecting a date?
I'm using Angular 9 and ng-lightning 7. I'm trying to use the ngl-datepicker-input component, but I'm having trouble having it behave how I want. The effect I'd like to achieve is to have a save() method be invoked EITHER:
When a date is selected…

Bryan
- 11
- 1
1
vote
1 answer
Glightbox problem in mobile horizontal scroll
I have a problem with the glightbox component, I have more or less managed to work well for me, but in mobile, I don't know what happens that a horizontal scroll is added, making the page not responsive. I have tried everything, I have looked…

Oriol
- 11
- 1
1
vote
0 answers
dropdown in dropdown.child trigger parent and it closes
I have a component that opens like dropdown.
In this component I have child component in which I use one more dropdown
and when I click on child component nglDrodownTrigger element, parent component closes.
How can I fix this?

Andryxa Piddubnjak
- 101
- 6
1
vote
0 answers
How to use ngl-picklist with Angular reactive forms
I am trying to build a nested reactive form in angular 4. The form will be based on the following model:
...
this.trunkForm = this._fb.group({
deviceName: [''],
ipAddresses: this._fb.array([])
});
...
One can associate…

user3233791
- 23
- 4
1
vote
0 answers
How to fix "x is not a function" error on AOT
I am running Angular AOT using 3rd party library (tether.js) for ng-lightning. JIT works fine, but after building it with AOT & Rollup, I get the following error (tether.js):
Uncaught TypeError: S is not a function
I have the following definition…

Yuvals
- 3,094
- 5
- 32
- 60
1
vote
1 answer
Ng-Lightning ParseError 'import' and 'export' may appear only with 'sourceType: module'
I am using ng-lightning components in my Angular 4 app. I am trying to build a bundle to deploy to a Tomcat server. I am getting the error below. Searching through Google it seems that ng-lightning may be ES6 and I need to babelify it to ES5. I…

Tony B.
- 91
- 4
- 14
1
vote
2 answers
ng-lightning - data object is undefined on lookup
I'm working with the Lookup component and am getting an error that my data object is undefined and thus cannot .filter(). Code is below:
getAllAccounts() {
this._quickAddService.getAllAccounts()
.subscribe(
accounts =>…

Matthew Ford
- 31
- 1
- 5
0
votes
1 answer
Is it possible to have the label of an nglAccordionSection accordion as a component or html element instead of just text?
I want to create a nesting table in Angular using Ng-lightning. I'm trying to do that by adding tables inside of an accordion.
However, I can't seem to find a way to set the label of the nglAccordionSection as a component or element instead of just…

Steven John Lally
- 143
- 3
- 14
0
votes
0 answers
How to target Angular UI library elements?
This probably applies to other UI libraries like Prime-NG and the like, but I'm using ng-lightning.
I am trying to grab the ngl-checkbox element with a querySelector in one of my unit tests.
fixture =…

Jumpman
- 145
- 1
- 2
- 11
0
votes
1 answer
Angular third party library components usage best practices advice request
I'm a junior developer and I've been developing a Angular 7 web portal where I use many other components from some libraries such as ag grid or ng lightning.
As I'm starting to use the same component in many pages, my question is in regards to major…

Ralms
- 463
- 5
- 13
0
votes
2 answers
How to pass array of type any to a Lookup
I am trying to use ngl-lookup of the ngl-lightning library
i want to pass an array of type any[] instead of String[],
this is my code:

Ilyes Atoui
- 474
- 2
- 9
- 29
0
votes
1 answer
How to find out which ngl-lookup was clicked on?
I'm generating ngl-lookup's in a for loop. For each ngl-lookup I will have a drop down which will define the source of the lookup function. For example, if user selects from a drop down value "cat", I want to display in a ngl-lookup all the cats…

Blink
- 1,408
- 13
- 21