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

hey I saw u had got that error in the controller "TypeError: props.render is not a function" , this one. I am getting the same now. Did u get it solved ? If yes, then can u pls share how? #39

Closed
Amshitha-Nair opened this issue Oct 9, 2021 · 3 comments

Comments

@Amshitha-Nair
Copy link

No description provided.

@mvaeve
Copy link

mvaeve commented Oct 16, 2021

In customTextField.jsx try this?

`

    <Grid item xs={12} sm={6}>
        <Controller
            control={control}
            defaultValue = ""
            name={name}
            render={({ field }) => (
                <TextField
                    {...field}
                    fullWidth
                    label={label}
                    required
                />
            )}
        />
    </Grid>
`

@Amshitha-Nair
Copy link
Author

In customTextField.jsx try this?

`

    <Grid item xs={12} sm={6}>
        <Controller
            control={control}
            defaultValue = ""
            name={name}
            render={({ field }) => (
                <TextField
                    {...field}
                    fullWidth
                    label={label}
                    required
                />
            )}
        />
    </Grid>
`

thank u so much. Yes I'll try.

@Rallanvila
Copy link

In customTextField.jsx try this?

`

    <Grid item xs={12} sm={6}>
        <Controller
            control={control}
            defaultValue = ""
            name={name}
            render={({ field }) => (
                <TextField
                    {...field}
                    fullWidth
                    label={label}
                    required
                />
            )}
        />
    </Grid>
`

Tysm!!!

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

3 participants