Why there is two magnifying glass (search icon) on a reference field? How can i deal with it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 12:51 AM - edited 06-04-2024 02:09 AM
Hi everyone,
There is two magnifying glass (search icon) on a reference field, the picture of which is attached below.
If clicking the left one, a table shows.
If clicking the right one, the tree view of the same table shows.
I went to studio and checked the certain form layout and found that there is a reference field of that table and a formatter of a UI macro to call out the tree view of the table.
In the script of UI macro, the former search icon of the reference field has already been set undisplayed.
The script is as follows.
Only right one of the search icons is expected. How should i deal with it?
Thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 12:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 05:42 PM
Thank you for your help.
I updated some info and would u mind check my question again?
I am confused why element.style.display = 'none' is not working in UI Macro.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 10:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 06:38 AM
Hi @Yu_G ,
Can you share comeplete picture, module , table , field name so we can check on our instance.
OOTB or some custom table/field.
-Thanks,
AshishKM