autocomplete button disable until there is text to autcomplete
Some checks are pending
Python Tests / test (3.10) (push) Waiting to run
Python Tests / test (3.11) (push) Waiting to run
Python Tests / test (3.12) (push) Waiting to run
Python Tests / test (3.13) (push) Waiting to run

This commit is contained in:
vegu-ai-tools 2025-05-09 20:10:07 +03:00
parent e340d74e8c
commit bd7d4a2e7f

View file

@ -217,7 +217,7 @@
:color="messageInputColor()">
<template v-slot:prepend v-if="sceneActive && scene.environment !== 'creative'">
<!-- auto-complete button -->
<v-btn @click="autocomplete" color="primary" icon variant="tonal">
<v-btn @click="autocomplete" color="primary" icon variant="tonal" :disabled="!messageInput">
<v-icon>mdi-auto-fix</v-icon>
</v-btn>
</template>