File tree Expand file tree Collapse file tree 2 files changed +23
-16
lines changed
lib/slack/block_kit/layout Expand file tree Collapse file tree 2 files changed +23
-16
lines changed Original file line number Diff line number Diff line change @@ -7,23 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10- ### Added
11- - N/A
12-
13- ### Changed
14- - N/A
15-
16- ### Deprecated
17- - N/A
18-
19- ### Removed
20- - N/A
21-
2210### Fixed
23- - N/A
24-
25- ### Security
26- - N/A
11+ - Fixed the issue when accessing Slack::BlockKit::Layout.Input (#197 by @070bex424pankaj )
2712
2813## [ 0.25.0] - 2024-11-22
2914
Original file line number Diff line number Diff line change @@ -216,6 +216,28 @@ def plain_text_input(
216216 self
217217 end
218218
219+ def number_input (
220+ action_id :,
221+ is_decimal_allowed : nil ,
222+ placeholder : nil ,
223+ initial_value : nil ,
224+ min_value : nil ,
225+ max_value : nil ,
226+ focus_on_load : nil
227+ )
228+ @element = Element ::NumberInput . new (
229+ action_id : action_id ,
230+ is_decimal_allowed : is_decimal_allowed ,
231+ placeholder : placeholder ,
232+ initial_value : initial_value ,
233+ min_value : min_value ,
234+ max_value : max_value ,
235+ focus_on_load : focus_on_load
236+ )
237+
238+ self
239+ end
240+
219241 def url_text_input (
220242 action_id :,
221243 placeholder : nil ,
You can’t perform that action at this time.
0 commit comments