用户如何将输入类型日期设为空? [英] How can user make input type date empty?

查看:146
本文介绍了用户如何将输入类型日期设为空?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用HTML5 DATE中的新输入属性,只有一个问题,在项目的逻辑中,用户必须有选择删除该值,但是我看不到如何设置空值在这个输入上

解决方案

假设你想使值显示为 dd / mm / yyyy ,然后点击清除按钮。




I wish to use the new input attribute from HTML5 DATE, only one problem, in the logic of the project, the user must be have the choice to delete the value, but i don't see, how to set empty value on this inputs

解决方案

Assuming you want to make the value shown to dd/mm/yyyy, then click on Clear button.

这篇关于用户如何将输入类型日期设为空?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆