You are viewing limited content. For full access, please sign in.

Question

Question

Is it possible to hide the "searching" icon when performing a lookup rule?

asked on December 8, 2022

Is there any way to hide the "searching" icon that appears next to a field used in a lookup rule while the lookup is being performed?

 

We just recently built some SQL tables that interface in real-time with our HCM system, so we now have vastly improved capabilities to auto populate all sorts of information for our employees via lookup rules. However, even though lookup rules are being processed on the backend, I don't necessarily want people to know that the form is "thinking" about what they entered.

I'm aware that the "Autofill" button can be displayed but I don't want people to have to click a button to make the form run the lookup rule, but by hiding it, it "causes the form to appear unresponsive", which is exactly what I'm trying to rectify with this request.

Is this even possible? If so, would anyone be able to advise as to how, or what other options we might have? Thank you very much for your time and have a great rest of your day!

0 0

Answer

SELECTED ANSWER
replied on January 3, 2023

Hi Dylan,

You can use custom css to hide it, and depends on your form type:

For classic form:

.lookup-loading { display: none }
.submit-loading { display: none }

For new form:

.loading-spinner { display: none }
.action-btn-container > div { display: none }

 

1 0
replied on January 4, 2023

Thank you so much, Rui! This does exactly what I was hoping. I appreciate your help and hope you have a great rest of your day!

0 0

Replies

replied on December 12, 2022

Select it in the inspect element and get the class or ID of the element. 

in your css or js, hide it or display none. 

I haven't tested it but might have come across it once. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.