Function zng_wgt_text_input::label::target

source ยท
pub fn target(child: impl UiNode, target: impl IntoVar<WidgetId>) -> impl UiNode
Expand description

P Defines the widget the label is for.

When the label is pressed the widget or the first focusable child of the widget is focused. Accessibility metadata is also set so the target widget is marked as labelled-by this widget in the view-process.

If this is set focusable is disabled on the label widget.