Input.InputLabel

View Source

Provides accessibility as well as usability improvements for mouse users by allowing the user to click the component to focus the respective control. This mimics the browsers native label tag, but allows use with custom components like .

Props

Themeable

Accepts Text props.

Use the inputLabel key in ThemeProvider to customize the default properties of this component.

controlsstring

The id of the input to control. Compatible with all Tapestry-React form components.

state'warning' | 'error' | 'success'

The current state of the label. Should match corresponding Input’s state prop.