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

Commit dcf802c

Browse files
author
Kamil Kisiela
committed
feat(chips): onAdd callback
1 parent 485df30 commit dcf802c

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
@@ -18,6 +18,9 @@ export default (formlyConfigProvider) => {
1818
},
1919
deleteHint: {
2020
attribute: 'delete-hint'
21+
},
22+
onAdd: {
23+
bound: 'md-on-add'
2124
}
2225
}
2326
},
@@ -26,7 +29,8 @@ export default (formlyConfigProvider) => {
2629
placeholder: check.string.optional,
2730
secondaryPlaceholder: check.string.optional,
2831
deleteButtonLabel: check.string.optional,
29-
deleteHint: check.string.optional
32+
deleteHint: check.string.optional,
33+
onAdd: check.func.optional
3034
}
3135
})
3236
});

0 commit comments

Comments
 (0)