📅  最后修改于: 2022-03-11 14:53:03.785000             🧑  作者: Mango
//To force form validation on a select input:
//you need to use the required attribute on your select form and
//set the value of the initial option to "".
//Notice that you have to set the value -""- as invalid