Skip to content

Ignored on component because is a fragment instance #7

Description

@daverdalas

I try to use your package but I go this error:

[Vue warn]: Attribute "options" is ignored on component <vue-select> because the component is a fragment instance.

My code:

<template>
    <div class="comments__container">
        <div class="row">
            <div class="col-sm-6">
                <h3 class="comments__filters__title">
                    {{title}}
                </h3>
            </div>
            <div class="col-sm-6 comments__filters">
                <div class="row">
                    <div class="col-sm-6">
                        <vue-select options="opt">
                        </vue-select>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>
<script type="text/babel" lang="babel">
    import VueSelect from 'vue-select2';
    export default{
        components: {VueSelect},
        data(){
            return {
                opt: ['foo','bar','baz', 'yep']
            }
        },
    }
</script>

Any idea what I'm doing wrong? Or is it a problem with the package?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions