Today, I encountered a problem: the content in the drop-down box in the query bar is too long, causing the part to be overwritten.
I checked some information, some said to use function control, some said to use event control, some did not understand, and some were too complicated to implement. Later, I asked my colleague if there were any simple methods. He told me to add title attribute to option, so I tried it according to his method and finally found that this method was feasible. In this way, I want to record it and avoid forgetting it myself.
1. Specific examples are as follows
Copy the code