Skip to content

Commit

Permalink
Nmin Man auf 0 bei Löschen
Browse files Browse the repository at this point in the history
  • Loading branch information
arnold-pichler committed Dec 14, 2024
1 parent 2253855 commit aa34b0d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/TheEntryForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@
density="compact"
type="number"
hide-details
@change="nminmanChanged(i - 1)"
/>
</v-col>
<v-col
Expand Down Expand Up @@ -733,6 +734,12 @@ mapReady.then(() => {
schlaegeLastModified.value = new Intl.DateTimeFormat('de-AT').format(date);
});
function nminmanChanged(idx) {
if (entry.value.cultures[idx].nmin == '') {
entry.value.cultures[idx].nmin = 0;
}
}
function clearSearch(what) {
search.value[what] = null;
}
Expand Down

0 comments on commit aa34b0d

Please sign in to comment.