OudsAnnotatedHelperText
An annotated string for helper text in text input components.
This class supports strong (bold/emphasized) text formatting to highlight important information in helper text. It is used by components like com.orange.ouds.core.component.OudsTextInput, com.orange.ouds.core.component.OudsTextArea, com.orange.ouds.core.component.OudsPasswordInput, and com.orange.ouds.core.component.OudsPinCodeInput.
Use buildOudsAnnotatedHelperText to create instances:
val helperText = buildOudsAnnotatedHelperText {
append("Password must be ")
withStrong { append("at least 8 characters") }
append(" long")
}
OudsTextInput(
textFieldState = rememberTextFieldState(),
label = "Password",
helperText = helperText
)Types
Builder for creating OudsAnnotatedHelperText with strong text formatting.
Properties
Functions
Create capitalized OudsAnnotatedString.
Create decapitalized OudsAnnotatedString.
Concatenates this annotated string with another annotated string.
Create lower case transformed OudsAnnotatedString.
Create upper case transformed OudsAnnotatedString.