mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
517 B
30 lines
517 B
<template>
|
|
<v-text-field
|
|
v-bind="$attrs"
|
|
:value="value"
|
|
:rules="projectNameRules($t('rules.projectNameRules'))"
|
|
:label="$t('overview.projectName')"
|
|
required
|
|
@input="$emit('input', $event)"
|
|
/>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { projectNameRules } from '@/rules/index'
|
|
import Vue from 'vue'
|
|
|
|
export default Vue.extend({
|
|
props: {
|
|
value: {
|
|
type: String,
|
|
default: '',
|
|
required: true
|
|
}
|
|
},
|
|
data() {
|
|
return {
|
|
projectNameRules
|
|
}
|
|
}
|
|
})
|
|
</script>
|