question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cascade lookup don't work

See original GitHub issue

The cascadeField in lookup don’t work. This also happens in the Serene Basic Sample (FilteredLookupOrderDetailDialog).

In SerenityScript the updateItems: function() calls this.getItems(lookup) that ever return zero items. It’s a bug?

cattura2

cattura

This piece of code don’t work

return new Enumerable(function () {   
    return new IEnumerator(
            function () { enumerator = ss.getEnumerator(ienum); },
            function () {
                var ok = enumerator.moveNext();
                return ok ? this.yieldReturn(enumerator.current()) : false;
            },
            function () {
                var disposable = ss.safeCast(enumerator, ss.IDisposable);
                if (disposable) {
                    disposable.dispose();
                }
            }
   );
});

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
volkanceylancommented, Jul 7, 2016

It’s about CascadeField not defined as an ES5 property while converting to TypeScript. Fixed in 2.2.7

0reactions
Estruscocommented, Jul 21, 2016

As said volkanceylan and jsbUSMC this fidex in version 2.2.7

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cascading DropDowns Lookup value not working
Solved: Hi Community, I am trying to find a solution for the following cascading dropdowns and it has been a real headache for...
Read more >
Cascade Delete does not work on Custom Lookup Fields
Cascade Delete does not work on Custom Lookup Fields · 1. Click on Setup · 2. Open Objects · 3. Select the Object...
Read more >
Cascading Lookups Not Working - Forms
I have a that the cascading lookups stopped working. I am not sure if this is persistent in other areas but I know...
Read more >
Cascade Lookup Example not working
Hi I'm having some trouble following your videos as they seem out of date with latest release (ie, no "fields tab" when I...
Read more >
DataGrid - A cascading lookup is not filtered according to ...
I am trying to do this first using a simple lookup following the cascading lookup demo you have. This doesn't work because the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found