1.0.8 • Published 5 years ago

@beisen-phoenix/mobile-field-date v1.0.8

Weekly downloads
1
License
ISC
Repository
gitlab
Last release
5 years ago

描述

移动端地区选择字段

namedescriptiontypedefault
labelText字段的labelstring
required是否必填booleanfalse
readOnly是否只读状态booleanfalse
hasError是否显示错误booleanfalse
labelIconlabel上的帮助提示iconJSX.Element
minDate日历的最小显示日期(年/月/日 时:分:秒)string1907/01/01 0:00:00
maxDate日历的最大显示日期(年/月/日 时:分:秒)string3019/12/31 23:59:59
defaultDate默认日期string
showWeek是否显示星期booleantrue
mode显示模式string类型 可选值包括 year、month、date、datetimedate
onChange字段值发生变化后的回调函数function(data)=>void
translation多语言支持object{title: '时间选择',placeHolder: '请选择',okText: '确定',dismissText: '取消',year: '年',month: '月',day: '日',hour: '时',minute: '分',am: '上午',pm: '下午',sun: '周日',mon: '周一',tue: '周二',wed: '周三',thu: '周四',fri: '周五',sat: '周六',today: '今天'}