resolve bug of ids input type date in form