Commonly used methods to restrict input 1. Cancel the dotted box when the button is pressed, and add the attribute value hideFocus or HideFocus=true in the input Copy the code