Hide auto complete in reference variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2023 07:37 AM
Hello!
I'm trying to disable the auto complete list that appears as you type in the variable. I have tried using "Variable attributes", but nothing worked.
For instance, this variable is a reference to the sys_user table. I don't want users to see other possible users in the list for security reasons. If possible, I'd want to completely eliminate any auto complete choice, even when there's a perfect match, and only accept the choice after typing the string perfectly and pressing enter. If there was a perfect match, the choice would be filled, if not, the variable would return empty.
Is that possible without a client script? And if not, how would that client script look like?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 07:14 AM
I have not found a solution, so the client dropped the requirement.
If you end up discovering a solution, please let us know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 07:48 AM
Hi @Fabricio4 ,
As Ankur suggested, I have updated the variable attribute as below and it worked.
"ref_auto_completer=AJAXTableCompleterTEST,ref_ac_columns=u_name,ref_ac_columns_search=false"
TEST can be replaced by any String
u_name is the column name which becomes visible after you select.
It turns off the disables auto-search behavior.