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

Problems in combination with REDUX-FORM

Open Shaka-60hp opened this issue 5 years ago • 2 comments

Description

Using REDUX-FORM props for Textinput componente are not correctlly passed or taken

Steps to Reproduce

  1. Insert Field from REDUX-FORM with property name="whatever"
  2. add component property to Field as TextInput (component={TextInput})
  3. Inspect the rendered result

Expected behavior: [What you expect to happen]

pass name to the text input

Actual behavior: [What actually happens]

no name on the final rendered input

Versions

react-materialize: 3.9.3 materialize-css: 1.0.0-rc2 react: 16.14.0

Shaka-60hp avatar Nov 09 '20 01:11 Shaka-60hp

Hi @Shaka-60hp can you paste some code for us to try?

alextrastero avatar Nov 09 '20 07:11 alextrastero

As far as I can see, TextInput will receive props like name and it will pass it to the actual input

alextrastero avatar Nov 09 '20 07:11 alextrastero