diff --git a/src/app/browser/window/tab/item/identity/gemini/widget/form.rs b/src/app/browser/window/tab/item/identity/gemini/widget/form.rs index 34494afe..8b2b1de1 100644 --- a/src/app/browser/window/tab/item/identity/gemini/widget/form.rs +++ b/src/app/browser/window/tab/item/identity/gemini/widget/form.rs @@ -57,7 +57,11 @@ impl Form { // Actions + /// Validate form in current set pub fn is_valid(&self) -> bool { - self.name.is_valid() // @TODO + match self.list.selected() { + Value::GENERATE_NEW_AUTH => self.name.is_valid(), + _ => true, + } } }