You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please give a brief but clear explanation of the issue. If you can, include a complete working example that demonstrates the bug. Check it can run without modifications.
Select.selection does not return None if select.value is select.BLANK, see source code:
@propertydefselection(self) ->SelectType|None:
"""The currently selected item. Unlike [value][textual.widgets.Select.value], this will not return Blanks. If nothing is selected, this will return `None`. """value=self.valueassertnotisinstance(value, NoSelection)
returnvalue
The bug
Please give a brief but clear explanation of the issue. If you can, include a complete working example that demonstrates the bug. Check it can run without modifications.
Select.selection does not return None if select.value is select.BLANK, see source code:
opened a PR #5650
The text was updated successfully, but these errors were encountered: