Edit Widget and Search Widget conflict?

561
5
Jump to solution
11-22-2017 08:08 AM
RichBell
Occasional Contributor

This may be a bug to resolve?

My search widget always zoomed to the results.

I added the Edit Widget to my project and it works.

Now the Search widget will NOT zoom to the results and only displays a blue box of the result. No Zoom too.

I removed the Edit widget and the Search widget works again.....

The error that I receive is "TypeError: Cannot read property 'layerInfos' of undefined"

This only occurs after I add the Edit widget to my project.

Help???

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Rich,

   Have you tried a newer version of WAB?

View solution in original post

0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus

Rich,

   What version of WAB are you using? I just tested in 2.6 and I don't see this issue at all.

0 Kudos
RichBell
Occasional Contributor

I am using WAB 2.4, Local layer 2.2.

Also attached is some error codes when a Search is performed.

errors

RobertScheitlin__GISP
MVP Emeritus

Rich,

   Have you tried a newer version of WAB?

0 Kudos
RichBell
Occasional Contributor

Well, I just moved everything to WAB 2.6 and it now works????

Thanks Again!

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Don't forget to mark this question as answered by clicking on the "Mark Correct" link on the reply that answered your question.

0 Kudos