slackline/element/users_select

This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.

Attributes for element.users_select.

Values

pub fn confirm(
  confirm: block.ConfirmationDialog,
) -> block.Attr(block.UsersSelectElement)

A confirmation dialog shown after an item is selected.

pub fn focus_on_load(
  focus_on_load: Bool,
) -> block.Attr(block.UsersSelectElement)

Whether to auto focus this element in a view. Defaults to false.

pub fn initial_user(
  initial_user: String,
) -> block.Attr(block.UsersSelectElement)

The user ID selected when the menu loads.

pub fn placeholder(
  placeholder: String,
) -> block.Attr(block.UsersSelectElement)

Placeholder text. Maximum 150 characters.

✨ Search Document