This repository was archived by the owner on Jan 22, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +46
-8
lines changed Expand file tree Collapse file tree 4 files changed +46
-8
lines changed Original file line number Diff line number Diff line change 2
2
All notable changes to this project will be documented in this file.
3
3
This project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
4
4
5
+ ## [ Unreleased]
6
+ ### Added
7
+ - md-chip with placeholder, secondary-placeholder, delete-button-label and delete-hint
8
+
5
9
## [ 0.3.0] - 2015-11-17
6
10
### Added
7
11
- datepicker with date range and filtering _ (currently in angular-material 1.0_RC4)_
@@ -42,9 +46,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
42
46
43
47
## 0.0.1 - 2015-11-06
44
48
45
- [ 0.3.0 ] : https://github.com/kamilkisiela/meteor-angular-formly-templates-material/compare/v0.2.0...v0.3.0
46
- [ 0.2.0 ] : https://github.com/kamilkisiela/meteor-angular-formly-templates-material/compare/v0.1.0...v0.2.0
47
- [ 0.1.0 ] : https://github.com/kamilkisiela/meteor-angular-formly-templates-material/compare/v0.0.4...v0.1.0
48
- [ 0.0.4 ] : https://github.com/kamilkisiela/meteor-angular-formly-templates-material/compare/v0.0.3...v0.0.4
49
- [ 0.0.3 ] : https://github.com/kamilkisiela/meteor-angular-formly-templates-material/compare/v0.0.2...v0.0.3
50
- [ 0.0.2 ] : https://github.com/kamilkisiela/meteor-angular-formly-templates-material/compare/v0.0.1...v0.0.2
49
+ [ Unreleased ] : https://github.com/wieldo/meteor-angular-formly-templates-material/compare/v0.3.0...HEAD
50
+ [ 0.3.0 ] : https://github.com/wieldo/meteor-angular-formly-templates-material/compare/v0.2.0...v0.3.0
51
+ [ 0.2.0 ] : https://github.com/wieldo/meteor-angular-formly-templates-material/compare/v0.1.0...v0.2.0
52
+ [ 0.1.0 ] : https://github.com/wieldo/meteor-angular-formly-templates-material/compare/v0.0.4...v0.1.0
53
+ [ 0.0.4 ] : https://github.com/wieldo/meteor-angular-formly-templates-material/compare/v0.0.3...v0.0.4
54
+ [ 0.0.3 ] : https://github.com/wieldo/meteor-angular-formly-templates-material/compare/v0.0.2...v0.0.3
55
+ [ 0.0.2 ] : https://github.com/wieldo/meteor-angular-formly-templates-material/compare/v0.0.1...v0.0.2
Original file line number Diff line number Diff line change
1
+ var { SetModule} = angular2now ;
2
+
3
+ SetModule ( 'formlyMaterial' )
4
+ . config ( ( formlyConfigProvider , formlyMaterialProvider ) => {
5
+
6
+ formlyConfigProvider . setType ( {
7
+ name : 'chips' ,
8
+ templateUrl : formlyMaterialProvider . templateUrl ( 'lib/client/types/chips/chips.ng.html' ) ,
9
+ defaultOptions : {
10
+ defaultValue : [ ] ,
11
+ ngModelAttrs : {
12
+ placeholder : { attribute : 'placeholder' } ,
13
+ secondaryPlaceholder : { attribute : 'secondary-placeholder' } ,
14
+ deleteButtonLabel : { attribute : 'delete-button-label' } ,
15
+ deleteHint : { attribute : 'delete-hint' }
16
+ }
17
+ } ,
18
+ apiCheck : ( check ) => ( {
19
+ templateOptions : {
20
+ placeholder : check . string . optional ,
21
+ secondaryPlaceholder : check . string . optional ,
22
+ deleteButtonLabel : check . string . optional ,
23
+ deleteHint : check . string . optional
24
+ }
25
+ } )
26
+ } ) ;
27
+
28
+ } ) ;
Original file line number Diff line number Diff line change
1
+ < md-chips ng-model ="model[options.key] "> </ md-chips >
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Package.onUse(function (api) {
22
22
23
23
24
24
25
- 'wieldo:angular-formly@7.3.2 '
25
+ 'wieldo:angular-formly'
26
26
]
27
27
} ;
28
28
@@ -88,7 +88,11 @@ Package.onUse(function (api) {
88
88
89
89
// datepicker
90
90
'lib/client/types/datepicker/datepicker.js' ,
91
- 'lib/client/types/datepicker/datepicker.ng.html'
91
+ 'lib/client/types/datepicker/datepicker.ng.html' ,
92
+
93
+ // chips
94
+ 'lib/client/types/chips/chips.js' ,
95
+ 'lib/client/types/chips/chips.ng.html'
92
96
93
97
] , client ) ;
94
98
You can’t perform that action at this time.
0 commit comments