mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Add required asterisk to field name input
This commit is contained in:
@@ -2,7 +2,10 @@
|
||||
<div>
|
||||
<h2 class="type-title" v-if="isNew">{{ $t('field_setup_title') }}</h2>
|
||||
|
||||
<div class="type-label">{{ $t('name') }}</div>
|
||||
<div class="type-label">
|
||||
{{ $t('name') }}
|
||||
<v-icon class="required" sup name="star" />
|
||||
</div>
|
||||
<v-input
|
||||
class="field"
|
||||
:value="value.field"
|
||||
@@ -84,4 +87,8 @@ export default defineComponent({
|
||||
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.required {
|
||||
color: var(--primary);
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user