mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Select widget (#2501)
* overlay rule * select WIP * select control, made binding description optional * changelog * style tweak * Added constrain * changelog * test fix * drop markup, tidy * tidy * select namespace * tests * docs * Added changed event * changelog * expanded * tests and snapshits * examples and docs * simplify * update reactive attributes * type fix * docstrings * allow renderables * superfluous init * typing fix * optimization * revert optimizations * fixed words * changelog * docstrings * don't need this * changelog * comment * Update docs/widgets/select.md Co-authored-by: Dave Pearson <davep@davep.org> * review changes * review updates --------- Co-authored-by: Dave Pearson <davep@davep.org>
This commit is contained in:
@@ -52,7 +52,7 @@ def test_bindings_merge_overlap():
|
||||
|
||||
def test_bad_binding_tuple():
|
||||
with pytest.raises(BindingError):
|
||||
_ = _Bindings((("a", "action"),))
|
||||
_ = _Bindings((("a",),))
|
||||
with pytest.raises(BindingError):
|
||||
_ = _Bindings((("a", "action", "description", "too much"),))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user