slackline/block/input
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Attributes for block.input.
Values
pub fn dispatch_action(
dispatch_action: Bool,
) -> block.Attr(block.InputBlock)
Whether using the element dispatches a block_actions payload.
Defaults to false. Incompatible with file_input.
pub fn hint(hint: String) -> block.Attr(block.InputBlock)
A hint below the element. Maximum 2000 characters.
pub fn optional(optional: Bool) -> block.Attr(block.InputBlock)
Whether the element may be empty on submission. Defaults to false.