<template>
    <v-card>
        <v-toolbar
            flat
            color="secondary"
            class="mt-12"
            dark
        >
            <v-toolbar-title>Create a note</v-toolbar-title>
        </v-toolbar>

        <v-card-text>
            <v-text-field label="Title" outlined value="My new note"></v-text-field>

            <v-textarea
                label="Text"
                outlined
                counter
                loader-height="5"
                spellcheck="false"
                value="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse"
            ></v-textarea>

            <v-combobox
                outlined
                v-model="tags"
                :items="possibleTags"
                :delimiters="delimiters"
                label="Tags"
                multiple
                chips
                deletable-chips
            ></v-combobox>

        </v-card-text>

        <v-card-actions>
            <v-spacer></v-spacer>
            <v-btn
                color="success"
                depressed
            >
                Create
            </v-btn>
        </v-card-actions>
    </v-card>
</template>

<script>
    export default {
        name: "create",
        data: () => ({
            delimiters: [" ", ","],
            tags: [],
            possibleTags: ["Dev", "Ephec", "Java"]
        })
    }
</script>

<style scoped>

</style>
