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

Error - parent_component is undefined? #191

Open
GELight opened this issue Dec 16, 2022 · 0 comments
Open

Error - parent_component is undefined? #191

GELight opened this issue Dec 16, 2022 · 0 comments

Comments

@GELight
Copy link

GELight commented Dec 16, 2022

Hi,

I try to use your component in an existing svelte project.
Our Environment is:

Svelte v3.53.1 with typescript (v4.9.3)
esbuild v0.15.18 for bundling

This error occurs in console:
image

In your internal code the error occurs here:
image

This is my basic test inside any component in our project:

<script lang="ts">
        ...
        import AutoComplete from "simple-svelte-autocomplete"
        ...

        let selectedColor: string
</script>

<AutoComplete
        items="{['White', 'Red', 'Yellow']}"
        bind:selectedItem="{selectedColor}"
/>

I do not understand the problem.
Hope you can help.

Best regards,
Mario

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

1 participant