mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-28 00:34:47 -04:00
fix: Simplify AutoForm and fix select (#6022)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
@@ -106,15 +106,7 @@
|
|||||||
persistent-hint
|
persistent-hint
|
||||||
lazy-validation
|
lazy-validation
|
||||||
@blur="emitBlur"
|
@blur="emitBlur"
|
||||||
>
|
/>
|
||||||
<template #item="{ item }">
|
|
||||||
<v-list-item
|
|
||||||
v-bind="props"
|
|
||||||
:title="item.raw.text"
|
|
||||||
:subtitle="item.raw.description"
|
|
||||||
/>
|
|
||||||
</template>
|
|
||||||
</v-select>
|
|
||||||
|
|
||||||
<!-- Color Picker -->
|
<!-- Color Picker -->
|
||||||
<div
|
<div
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ type FormFieldType = "text" | "textarea" | "list" | "select" | "object" | "boole
|
|||||||
|
|
||||||
export interface FormSelectOption {
|
export interface FormSelectOption {
|
||||||
text: string;
|
text: string;
|
||||||
description?: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FormField {
|
export interface FormField {
|
||||||
|
|||||||
Reference in New Issue
Block a user