Skip to content
This repository was archived by the owner on Jan 22, 2018. It is now read-only.

Commit 8f2f21e

Browse files
author
Kamil Kisiela
committed
feat(chips): onSelect callback
equivalent to md-on-select
1 parent cefe2a7 commit 8f2f21e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/types/chips/chips.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ export default (formlyConfigProvider) => {
2424
},
2525
onRemove: {
2626
bound: 'md-on-remove'
27+
},
28+
onSelect: {
29+
bound: 'md-on-select'
2730
}
2831
}
2932
},
@@ -34,7 +37,8 @@ export default (formlyConfigProvider) => {
3437
deleteButtonLabel: check.string.optional,
3538
deleteHint: check.string.optional,
3639
onAdd: check.func.optional,
37-
onRemove: check.func.optional
40+
onRemove: check.func.optional,
41+
onSelect: check.func.optional
3842
}
3943
})
4044
});

0 commit comments

Comments
 (0)