alibaba / formily

📱🚀 🧩 Cross Device & High Performance Normal Form/Dynamic(JSON Schema) Form/Form Builder -- Support React/React Native/Vue 2/Vue 3
https://formilyjs.org/
MIT License
11.32k stars 1.48k forks source link

[Bug Report] Radio.Group、Checkbox.Group will warn on 'change' event handler #3986

Closed coder-layne closed 11 months ago

coder-layne commented 12 months ago

Reproduction link

Edit on CodeSandbox

Steps to reproduce

When the component renders, it will trigger.

What is expected?

Pass a valid "change" handler to the Vue instance to avoid warnings.

What is actually happening?

Undefined was passed as handler for the "change" event to Vue, and a warning occurred.

image

Package

@formily/element@2.2.29


This problem was introduced in a prior repair request #3665 . It seems that this fix is no longer necessary in v2.2.29, and I don't know what happened during this period.