开发过程中遇到一小问题。
input type datetime-local的 placeholder 支持性有一定问题,会失效。
我是这样解决的。先让type=text,聚焦改变type=datetime-local
示例
<input name="APPOINTTIME" id="APPOINTTIME" type="text" οnfοcus="(this.type='datetime-local')" maxlength="11"
class="mui-input-clear" placeholder="(必填,你需要预约哪个时间点?)"/>