Skip to content

Commit

Permalink
Align usage of placeholders
Browse files Browse the repository at this point in the history
RISDEV-2944
  • Loading branch information
leonie-koch committed Dec 18, 2023
1 parent a5f6a8e commit ea520ba
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 19 deletions.
4 changes: 0 additions & 4 deletions frontend/src/components/ActiveCitationInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ watch(
clear-on-choosing-item
:has-error="slotProps.hasError"
:item-service="ComboboxItemService.getCitationTypes"
placeholder="Bitte auswählen"
></ComboboxInput>
</InputField>
<div v-if="!activeCitation.hasForeignSource">
Expand All @@ -196,7 +195,6 @@ watch(
clear-on-choosing-item
:has-error="slotProps.hasError"
:item-service="ComboboxItemService.getCourts"
placeholder="Aktivzitierung Gericht"
>
</ComboboxInput>
</InputField>
Expand Down Expand Up @@ -227,7 +225,6 @@ watch(
v-model="activeCitation.fileNumber"
aria-label="Aktenzeichen der Aktivzitierung"
:has-error="slotProps.hasError"
placeholder="Aktenzeichen"
></TextInput>
</InputField>
<InputField id="activeCitationDecisionDocumentType" label="Dokumenttyp">
Expand All @@ -236,7 +233,6 @@ watch(
v-model="activeCitation.documentType"
aria-label="Dokumenttyp der Aktivzitierung"
:item-service="ComboboxItemService.getDocumentTypes"
placeholder="Bitte auswählen"
></ComboboxInput>
</InputField>
</div>
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/components/DocumentUnitSearchEntryForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ export type DocumentUnitSearchParameter =
v-model="query.documentNumberOrFileNumber"
aria-label="Dokumentnummer oder Aktenzeichen Suche"
class="ds-input-small"
placeholder="Dokumentnummer/ Aktenzeichen"
@focus="resetErrors"
></TextInput>
</InputField>
Expand All @@ -212,7 +211,7 @@ export type DocumentUnitSearchParameter =
v-model="query.courtLocation"
aria-label="Gerichtsort Suche"
class="ds-input-small"
placeholder="Gerichtsort"
placeholder="Ort"
@focus="resetErrors"
></TextInput>
</InputField>
Expand Down
4 changes: 0 additions & 4 deletions frontend/src/components/EnsuingDecisionInputGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ onMounted(() => {
clear-on-choosing-item
:has-error="slotProps.hasError"
:item-service="ComboboxItemService.getCourts"
placeholder="Gerichtstyp Gerichtsort"
@click="validationStore.remove('court')"
></ComboboxInput>
</InputField>
Expand Down Expand Up @@ -192,7 +191,6 @@ onMounted(() => {
v-model="ensuingDecision.fileNumber"
aria-label="Aktenzeichen Nachgehende Entscheidung"
:has-error="slotProps.hasError"
placeholder="Aktenzeichen"
@input="validationStore.remove('fileNumber')"
></TextInput>
</InputField>
Expand All @@ -207,7 +205,6 @@ onMounted(() => {
v-model="ensuingDecision.documentType"
aria-label="Dokumenttyp Nachgehende Entscheidung"
:item-service="ComboboxItemService.getDocumentTypes"
placeholder="Bitte auswählen"
></ComboboxInput>
</InputField>
</div>
Expand All @@ -224,7 +221,6 @@ onMounted(() => {
v-model="ensuingDecision.note"
aria-label="Vermerk"
:has-error="hasError"
placeholder="Vermerk"
@input="validationStore.remove('note')"
></TextInput>
</InputField>
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/components/NormReferenceInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ watch(props, () => {
aria-label="Norm Suchfeld"
clear-on-choosing-item
:item-service="ComboboxItemService.getRisAbbreviationsAwesome"
placeholder="Suchfeld"
placeholder="Nach Norm suchen"
throttle-item-service-throughput
></ComboboxInput>
</InputField>
Expand All @@ -124,7 +124,6 @@ watch(props, () => {
clear-on-choosing-item
:has-error="slotProps.hasError"
:item-service="ComboboxItemService.getRisAbbreviations"
placeholder="RIS Abkürzung"
@click="validationStore.remove('normAbbreviation')"
>
</ComboboxInput>
Expand Down
3 changes: 0 additions & 3 deletions frontend/src/components/PreviousDecisionInputGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ onMounted(() => {
clear-on-choosing-item
:has-error="slotProps.hasError"
:item-service="ComboboxItemService.getCourts"
placeholder="Gerichtstyp Gerichtsort"
@click="validationStore.remove('court')"
></ComboboxInput>
</InputField>
Expand Down Expand Up @@ -180,7 +179,6 @@ onMounted(() => {
v-model="previousDecision.fileNumber"
aria-label="Aktenzeichen Vorgehende Entscheidung"
:has-error="slotProps.hasError"
placeholder="Aktenzeichen"
@input="validationStore.remove('fileNumber')"
></TextInput>
</InputField>
Expand All @@ -195,7 +193,6 @@ onMounted(() => {
v-model="previousDecision.documentType"
aria-label="Dokumenttyp Vorgehende Entscheidung"
:item-service="ComboboxItemService.getDocumentTypes"
placeholder="Bitte auswählen"
></ComboboxInput>
</InputField>
</div>
Expand Down
5 changes: 1 addition & 4 deletions frontend/src/fields/caselaw/coreDataFields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,11 @@ export const courtFields: InputField[] = [
"Gericht",
"Gericht",
comboboxItemService.getCourts,
"Gerichtstyp Gerichtsort",
),
child: defineChipsField(
"deviatingCourts",
"Fehlerhaftes Gericht",
"Fehlerhaftes Gericht",
"",
),
},
),
Expand Down Expand Up @@ -212,7 +210,6 @@ export const coreDataFields: InputField[] = [
"Dokumenttyp",
"Dokumenttyp",
comboboxItemService.getDocumentTypes,
"Bitte auswählen",
),
defineNestedInputField(
"Abweichender ECLI",
Expand All @@ -236,7 +233,7 @@ export const coreDataFields: InputField[] = [
"Vorgang",
"Vorgang",
comboboxItemService.getProcedures,
"Bitte auswählen",
"",
true,
true,
),
Expand Down

0 comments on commit ea520ba

Please sign in to comment.