S
S
symnoob2020-10-07 21:10:55
React
symnoob, 2020-10-07 21:10:55

React-Admin - how to populate form fields via Event onChange?

Hello everyone,

is there any way to fill the form fields through the onChange Event?

ReferenceInput pulls out data about the user, I would like to fill in the

Version Form with this data: [email protected]^3.7.1:

<ReferenceInput label="User" source="user.id" onChange={handleChange} reference="user">
                            <SelectInput fullWidth optionText="lastname"/>
</ReferenceInput>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question