We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0495601 commit 0d25aeaCopy full SHA for 0d25aea
slack/web/classes/views.py
@@ -100,13 +100,6 @@ def _validate_title_length(self):
100
def _validate_blocks_length(self):
101
return self.blocks is None or 0 < len(self.blocks) <= self.blocks_max_length
102
103
- @JsonValidator("home view cannot have input blocks")
104
- def _validate_input_blocks(self):
105
- return self.type == "modal" or (
106
- self.type == "home"
107
- and len([b for b in self.blocks if b.type == "input"]) == 0
108
- )
109
-
110
@JsonValidator("home view cannot have submit and close")
111
def _validate_home_tab_structure(self):
112
return self.type != "home" or (
0 commit comments