Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

source attribute with object path does not work #9

Open
giuvincenzi opened this issue Mar 22, 2020 · 1 comment
Open

source attribute with object path does not work #9

giuvincenzi opened this issue Mar 22, 2020 · 1 comment

Comments

@giuvincenzi
Copy link

export const ExampleCreate = (props) => (
    <Create {...props}>
        <SimpleForm>
            <TextInput source="name" />
            <TextInput source="address.street" />
        </SimpleForm>
    </Create>
);

the address.street is not sent in the mutation variables

// variables in mutation
{
    "data": {
        "name": "theName"
    }
}
@Vadorequest
Copy link
Member

@giuvincenzi Have you tested again with the latest 1.0.0 released today? I believe this use case should be covered now. See #5

Also, see #8 which isn't directly related but you may find useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants