In the HTMLInputElement interface, there is no such property as valid or invalid . You can use the setCustomValidity(error) method with native form ...
確定! 回上一頁