Support Article

Autocomplete does not blank out hidden values

SA-29227

Summary



When an Autocomplete control is used to set additional properties the values are not  blanked out if a user clears the value that was selected from the Autocomplete.  

The main value is empty, but the additional properties retain the values from the original selection.



Error Messages


Not applicable


Steps to Reproduce

  1. Configure an Autocomplete that sets the value of additional properties.
  2. Enter and set a value in the autocomplete; The values of the additional properties are set.
  3. Clear the value from the autcomplete. Additional propery values remain set.



Root Cause



This is intended behavior, in the case that the value is blanked out we do not know the intension of the user and what we should set these properties to.  

This should be taken into consideration as part of the design.

Resolution



Configure an Action on the autocomplete to set the additional property values to blank on a key press if the additional properties are not blank.  

This will blank the values if the user makes any additional entry into the Autocomplete after a value has been set.

 


 

Published October 17, 2016 - Updated November 8, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.