Describe the bug
On Page where we have multiple Subpages, we control the visibility of them by actions on top. Lookup on fields that have TableRelations in the background only works if the field value is empty. For a field with an existing Value, lookup can only be processed by ALT + down, not by mouse click!
When I comment Visible property of part, everything works as expected.
Probably similar to #4788
To Reproduce
Steps and to reproduce the behavior:
- Create a page with subparts (subpart must have at least one field with TableRelation to other table)
- Put in Visible property on part to some global boolean value
- create action that will show/hide that part
- populate a field on subpart with TableRelation from the list by using Lookup
- Try again to click on the lookup button on that field (nothing will happen)
- Try to use ALT + down combination(lookup will be shown)
Expected behavior
The lookup should always work, no matter is field populated or not, and no matter of the Visibility property of the subpage.
Screenshots

Versions:
- AL Language: 6.1.362735
- Business Central: 17.0