catho/quantum

onChange of <Input> no longer pass event object

Closed this issue ยท 2 comments

Hi,

We use Quantum in some projects here @catho-lab and recently I've upgraded our quantum package to the latest version and started to experience some strange behaviors.

Troubleshooting the problem it turned out that the culprit was one change of behavior at the onChange event at component. The onChange event no longer sends back the event object, nor the changes.

onChange call at my previous version:

onChange(e, { value });

onChange call at master:

Is this intentional?

Right now I'm rolling back to the last version that had this event return pattern, but it's definitely not ideal since I'll be losing all the bug-fixes and improvements of the recent versions.

Thanks.

If this isn't an intentional behavior, I've added #135 to address it.
Edit: Candidate fix now lays at #136 by @pedrohmorais;

๐ŸŽ‰ This issue has been resolved in version 2.5.1 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€