I've set up a feature layer with a popup and added it to my map. I'm also making the feature layer searchable via the search widget. When I search and select a result, the popup opens, and the title is fine, but the content is missing. Here's a demo:
When I search for district '2003' I get this (incorrect, no content):
When I simply click on the feature, I get this (correct):
When poking around in the debugger, I see that when the popup has no content, popup.selectedFeature.layer is null. What's going on here? I simply want the same popup to show up if I click the feature or search. Thanks for any help you can provide!!