react-toolkit icon indicating copy to clipboard operation
react-toolkit copied to clipboard

Input Select does not work

Open rpetigny opened this issue 3 years ago • 1 comments

Issue and Steps to Reproduce

This codesandbox illustrates the problem: https://codesandbox.io/s/gifted-elbakyan-dkd87g?file=/src/App.js Error in console at startup: « Warning: You provided a value prop to a form field without an onChange handler. This will render a read-only field. If the field should be mutable use defaultValue. Otherwise, set either onChange or readOnly. » And onChange handler never called

Versions

2.0.0-alpha.8

Screenshots

Expected

onChange correctly working

Actual

Additional Details

Switch back to alpha.5 and the sample works

  • Installed packages

rpetigny avatar Jul 04 '22 20:07 rpetigny

classModifier is also not properly passed down.

Here's a sandbox to showcase both issues : https://codesandbox.io/s/condescending-ptolemy-m32ol1

bernard-arnaud avatar Jul 05 '22 08:07 bernard-arnaud

Fixed on v2.0.0 : https://codesandbox.io/s/select-n3o3b5

samuel-gomez avatar Feb 15 '23 13:02 samuel-gomez