bietkul / react-reactive-form

Angular like reactive forms in React.
MIT License
309 stars 32 forks source link

Can't add separate Fields #41

Closed aturan23 closed 4 years ago

aturan23 commented 5 years ago

Describe the bug I use FormGenerator. And I customized my form component and used it. But when I use separate fields it's render just first one. I changed order of fields but just first one on dialog

Screenshots image

Desktop (please complete the following information):

Additional context how I create:

controls: {
        autosuggestion: {
            render: (control) => <AutocomplateField {...control} />,
            meta : {
                label: "some"
            }
        },
        downshift: {
            render: (control) => <IntegrationDownshift {...control}/>,
            meta: {
                label: 'downshift'
            }
        }
    }
bietkul commented 5 years ago

What does your IntegrationDownshift component render?

aturan23 commented 5 years ago

What does your IntegrationDownshift component render?

@bietkul its material-ui field. u can see it here

bietkul commented 5 years ago

I'm not sure, something is off with this component. Can you please share a code sandbox link with an example.

aturan23 commented 5 years ago

I'm not sure, something is off with this component. Can you please share a code sandbox link with an example.

@bietkul here

aturan23 commented 5 years ago

I'm not sure, something is off with this component. Can you please share a code sandbox link with an example.

I'm sorry. But now it works. I don't know how :)

bietkul commented 4 years ago

Closing because it is not an issue with the library.