Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: 日期输入框显示问题 #868

Closed
xiaoxinpro opened this issue May 4, 2016 · 2 comments
Closed

Bug: 日期输入框显示问题 #868

xiaoxinpro opened this issue May 4, 2016 · 2 comments
Labels
Milestone

Comments

@xiaoxinpro
Copy link

xiaoxinpro commented May 4, 2016

问题描述
日期输入框<input type="date" value="2016-5-4 20:06:20">无法显示value值
并且在Safari浏览器中输入框的大小出现异常

产生环境

  • 设备:iPhone 和 PC
  • 操作系统及版本:IOS9.3 和 win10
  • 浏览器及版本:Safari 和 chrome
  • 演示地址:

复现步奏

  1. 使用Amaze UI模板
  2. 加入<input type="date" value="2016-5-4 20:06:20">
@minwe
Copy link
Contributor

minwe commented May 5, 2016

不显示 value 是浏览器问题,跟 Amaze UI 无关,把 Amaze UI 的 CSS 删了一样不显示。

http://bin.amazeui.org/besoluzazo/edit?html

在 iOS 版 Safari 上应该是需要给 [type="date"] 设置高度,这也算是浏览器的问题吧。

http://stackoverflow.com/questions/18967852/input-type-date-in-ios-7

@xiaoxinpro
Copy link
Author

xiaoxinpro commented May 5, 2016

@minwe
qq 20160505151439

格式问题,已经解决了!
<input type="date" value="2016-05-04">
value的格式问题!

@minwe minwe added this to the Coming release milestone Jun 7, 2016
@minwe minwe added the css-form label Jun 7, 2016
@minwe minwe closed this as completed in 2820a0b Jun 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants