Skip to main content
Answer

Forcing a refresh of the auto-complete on a selector field.

  • August 30, 2023
  • 3 replies
  • 333 views

Forum|alt.badge.img+7

I have two selectors on a form, the first selects a Branch and the second selects a Warehouse within that Branch.

I have CommitChanges = true and AutoRefresh=True so when the user invokes the selector the correct set of Warehouses is displayed.

However, if the user selects the Branch and then tabs to the Warehouse field and starts to type, the auto-complete values are still using the old Branch value.

It’s not a big deal but I would like to know if there is a way to make the auto-complete logic to refresh itself as well so the user can stay on the keyboard.

Best answer by Django

 I’ve added a suggestion for this to be included in the framework.

 

 

3 replies

darylbowman
Captain II
Forum|alt.badge.img+15

This is not a fix, but rather a workaround. Pressing F3 will open the currently active selector.


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • September 4, 2023

@Django  Yes, I have observed this behavior. It appears that the AutoComplete functionality does not automatically refresh the Selector control to update with the correct details while typing. As a result, outdated branch warehouse information continues to be displayed.

Seem like the Selector control needs to be manually clicked, triggering the AutoRefresh = true functionality, which then correctly displays the up-to-date values.


Forum|alt.badge.img+7
  • Author
  • Captain II
  • Answer
  • September 5, 2023

 I’ve added a suggestion for this to be included in the framework.