feat: Add MultiSelect widget and update imports

- Implement MultiSelect widget inheriting from Checkbox
- Update import order in __init__.py for consistency
- Prepare groundwork for multi-select dropdown functionality
This commit is contained in:
bobo.yang 2024-11-14 19:03:47 +08:00
parent b8e2a0bef8
commit 5da21b00d5
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
from .form import Form
from .step import Step
from .widgets import Button, Checkbox, Radio, TextEditor, MultiSelect
from .widgets import Button, Checkbox, MultiSelect, Radio, TextEditor
__all__ = [
"Checkbox",

View File

@ -162,6 +162,7 @@ class Checkbox(Widget):
self._selections = selections
class MultiSelect(Checkbox):
"""
ChatMark syntax: