zng::text

Function max_chars_count

source
pub fn max_chars_count(
    child: impl UiNode,
    max: impl IntoVar<usize>,
) -> impl UiNode
Expand description

P Maximum number of characters that can be input.

Zero means no limit. Is zero by default.

This property sets the MAX_CHARS_COUNT_VAR.