diff --git a/frontend/src/components/input/FormField.vue b/frontend/src/components/input/FormField.vue index f86166989..178c15ee2 100644 --- a/frontend/src/components/input/FormField.vue +++ b/frontend/src/components/input/FormField.vue @@ -7,6 +7,7 @@ interface Props { error?: string | null id?: string disabled?: boolean + loading?: boolean } const props = defineProps() @@ -36,7 +37,10 @@ const controlClasses = computed(() => [ const inputClasses = computed(() => [ 'input', - {'disabled': props.disabled}, + { + 'disabled': props.disabled, + 'is-loading': props.loading, + }, ]) // Only bind value when modelValue is explicitly provided (not undefined)