Semantic UI 2.1.4 发布,此版本更新内容如下: 关键 bug 修复 增强 1 2 3 4 5 6 7 8 9 10 11 12 | .form({
fields: {
name : 'empty' ,
gender : 'empty' ,
username : 'empty' ,
password : [ 'minLength[6]' , 'empty' ],
skills : [ 'minCount[2]' , 'empty' ],
terms : 'checked'
}
})
;
|
表单验证 - identifier and prompt are now optional for all form validation rules. Default prompt values have been added for all rule types, and identifier will now automatically match on the named value for rule if no ID is specified. #3001 #2579 表单验证 - All form prompts now support templates values, {value} , {name} , {ruleValue} , and {identifier} #3001
Bug 修复
Dropdown - Fixed issue with ',' key not being allowed in dropdown due to user tagging shortcut key #3016 Message - ui list used inside ui message now aligns properly in all conditions #2958 Form Validation - Validation messages in error message group are now correctly removed when invalid field revalidates on blur Label - Labels no longer force single line using word-wrap: nowrap #3006 Table - Fixed issue where (x) column segment table was inheriting accidentally inheriting some grid styles Grid - Fixed middle aligned grid not applying to columns #2959 Menu - Fixed issue where right menu was not floating correctly inside amenu > container on mobile #2969 Button - Fixes right labeled icon button with a right named icon (for exampleright arrow ) having incorrect margin on icon. #2973
下载:https://github.com/Semantic-Org/Semantic-UI/archive/2.1.4.zip。 Semantic UI—完全语义化的前端界面开发框架,跟 Bootstrap 和 Foundation 比起来,还是有些不同的,在功能特性上、布局设计上、用户体验上均存在很多差异。 Semantic UI 特点: Semantic UI 对浏览器的支持: Last 2 Versions FF, Chrome, IE (aka 10+) Safari 6 IE 9+ (Browser prefix only) Android 4 Blackberry 10

|