Skip to content

GUI: combobox enter make submit form, not to open the box (alt-down) #41

@e3rd

Description

@e3rd
  1. Go to combobox
  2. Select a value
  3. Hit enter
  4. Combobox re-open

It should submit the form. (If you are in the 'foo2' field, hitting enter will submit the form.) Investigate why.

#!/usr/bin/env python3
from dataclasses import dataclass
from typing import Callable, Literal
from mininterface import run
from mininterface.settings import GuiSettings

@dataclass
class Env:
    foo1: Literal["one", "two", "three"]
    foo2: str

m = run(Env, settings=GuiSettings(combobox_since=0))
Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions