mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-09-20 18:51:26 -03:00
fix(ui): add disabled state and feedback to usage tips Add button
The Add button silently returned when no parameter or value was provided, looking clickable but doing nothing. Keep it disabled until both inputs are filled, validate the numeric value, surface save failures via toast without clearing user input, and confirm additions vs overwrites with success toasts. Includes translations for all locales.
This commit is contained in:
+5
-1
@@ -1593,7 +1593,11 @@
|
||||
"clipSkip": "Clip Skip",
|
||||
"valuePlaceholder": "ערך",
|
||||
"add": "הוסף",
|
||||
"invalidRange": "פורמט טווח לא תקין. השתמש ב-x.x-y.y"
|
||||
"invalidRange": "פורמט טווח לא תקין. השתמש ב-x.x-y.y",
|
||||
"invalidValue": "נא להזין מספר תקין",
|
||||
"saveFailed": "שמירת הפרמטר הקבוע מראש נכשלה",
|
||||
"added": "הפרמטר הקבוע מראש נוסף",
|
||||
"updated": "הפרמטר הקבוע מראש עודכן"
|
||||
},
|
||||
"triggerWords": {
|
||||
"label": "מילות טריגר",
|
||||
|
||||
Reference in New Issue
Block a user