We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91fa11e commit 205f2b1Copy full SHA for 205f2b1
packages/dialtone-vue3/common/utils/index.js
@@ -198,7 +198,7 @@ export const pascalCaseToKebabCase = (string) => {
198
199
export const extractVueListeners = (attrs) => {
200
const listeners = Object.entries(attrs)
201
- .filter(([key]) => key.startsWith('on'));
+ .filter(([key]) => key.match(/on[A-Z]/));
202
return Object.fromEntries(listeners);
203
};
204
0 commit comments