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

Commit 58e5507

Browse files
author
Kamil Kisiela
committed
feat(chips): onRemove callback
equivalent to md-on-remove
1 parent 3b1a439 commit 58e5507

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
@@ -21,6 +21,9 @@ export default (formlyConfigProvider) => {
2121
},
2222
onAdd: {
2323
bound: 'md-on-add'
24+
},
25+
onRemove: {
26+
bound: 'md-on-remove'
2427
}
2528
}
2629
},
@@ -30,7 +33,8 @@ export default (formlyConfigProvider) => {
3033
secondaryPlaceholder: check.string.optional,
3134
deleteButtonLabel: check.string.optional,
3235
deleteHint: check.string.optional,
33-
onAdd: check.func.optional
36+
onAdd: check.func.optional,
37+
onRemove: check.func.optional
3438
}
3539
})
3640
});

0 commit comments

Comments
 (0)