function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
B_kB_k 

Button works when I click anywhere next the button.

I work on salesforce and i created attach button. it works perfectly but when i click anywhere next the button the button works. anywhere in the red circle the choose file button work!!User-added image
PriyaPriya (Salesforce Developers) 

Hey BK,

Can you kindly elaborate the issue here?

Thanks,

Priya Ranjan

B_kB_k
Hi Prya,

the issue is when i click on any space around the "Choose File" button,  the menu it comes up (like if you click the Choose File button)
mukesh guptamukesh gupta
Hi B_K,

This is salesforce statndard functionality , so we can't modifiy in choose file hit area.

if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh