Skip to content

Commit

Permalink
naming nit #147
Browse files Browse the repository at this point in the history
  • Loading branch information
johnatawnclementawn authored and jacobtylerwalls committed Jan 17, 2025
1 parent 6df9330 commit 57ae812
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ onMounted(async () => {
<NonLocalizedString
:value="formValue?.appellative_status_ascribed_name_content"
:mode="EDIT"
:pt-id="formId + '-label'"
:pass-thru-id="formId + '-label'"
@update="
(val) =>
onUpdateString('appellative_status_ascribed_name_content', val)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { EDIT, VIEW } from "@/arches_lingo/constants.ts";
const props = defineProps<{
mode?: DataComponentMode;
value?: string;
ptId?: string;
passThruId?: string;
}>();
const emits = defineEmits(["update"]);
const onUpdate = (val: string) => {
Expand All @@ -22,7 +22,7 @@ const onUpdate = (val: string) => {
<div v-if="mode === EDIT">
<NonLocalizedStringEditor
:value="value ?? ''"
:pt-id="props.ptId"
:pass-thru-id="props.passThruId"
@update="onUpdate"
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import InputText from "primevue/inputtext";
const props = defineProps<{
value: string;
ptId?: string;
passThruId?: string;
}>();
const updateableValue = ref<string>(props.value as string);
Expand All @@ -22,7 +22,7 @@ watch(updateableValue, (newValue) => {
<template>
<div>
<InputText
:id="props.ptId"
:id="props.passThruId"
v-model="updateableValue"
type="text"
/>
Expand Down

0 comments on commit 57ae812

Please sign in to comment.