Fiori Note Text Field
The composable FioriNoteTextField component.
The FioriTextFieldTestTags class serves as a comprehensive collection of test tags for the various components used in the FioriNoteTextField. This class is particularly beneficial for automated testing, ensuring that each UI component is properly identified and tested in accordance with best practices.
Parameters
the input String text to be shown in the FioriNoteTextField.
the callback that is triggered when the input service updates the text. An updated text comes as a parameter of the callback.
optional Modifier for this text field.
controls the enabled state of the FioriNoteTextField. When false, the text field will be neither editable nor focusable, the input of the text field will not be selectable
controls the editable state of the FioriNoteTextField. When true, the text field can not be modified, however, a user can focus it and copy text from it. Read-only text fields are usually used to display pre-filled forms that user can not edit
to enable or disable the ability to select the value text in readOnly states. By default, it was true.
controls the error state of the FioriNoteTextField, When true, the error was shown in the text field and error message was showing in helper text area
a FioriTextFieldContent object to declare all necessary information of the text field
the optional trailing icon to be displayed at the end of the text field container
FioriTextFieldTextStyles that will be used to determine the text style of FioriNoteTextField parts in different state. See FioriTextFieldDefaults.textStyles to customize
FioriTextFieldColors that will be used to determine the color of the FioriNoteTextField parts in different state. See FioriTextFieldDefaults.colors to customize
FioriTextFieldStyles that will be used to determine the style of the FioriNoteTextField parts in different state. E,g, the padding, height. See FioriTextFieldDefaults.styles to customize
software keyboard options that contains configuration such as KeyboardType and ImeAction.
when the input service emits an IME action, the corresponding callback is called. Note that this IME action may be different from what you specified in KeyboardOptions.imeAction.
The visual transformation filter for changing the visual representation of the input. By default no visual transformation is applied.
the MutableInteractionSource representing the stream of Interactions for this FioriNoteTextField.
This optional callback function is called when the hyperlink in the inline notice is clicked.
The composable FioriNoteTextField component.
The FioriTextFieldTestTags class serves as a comprehensive collection of test tags for the various components used in the FioriNoteTextField. This class is particularly beneficial for automated testing, ensuring that each UI component is properly identified and tested in accordance with best practices.
Parameters
The androidx.compose.ui.text.input.TextFieldValue to be shown in the FioriNoteTextField.
Called when the input service updates the values in FioriNoteTextField.
optional Modifier for this text field.
controls the enabled state of the FioriNoteTextField. When false, the text field will be neither editable nor focusable, the input of the text field will not be selectable
controls the editable state of the FioriNoteTextField. When true, the text field can not be modified, however, a user can focus it and copy text from it. Read-only text fields are usually used to display pre-filled forms that user can not edit
to enable or disable the ability to select the value text in readOnly states. By default, it was true.
controls the error state of the FioriNoteTextField, When true, the error was shown in the text field and error message was showing in helper text area
a FioriTextFieldContent object to declare all necessary information of the text field
the optional trailing icon to be displayed at the end of the text field container
FioriTextFieldTextStyles that will be used to determine the text style of FioriNoteTextField parts in different state. See FioriTextFieldDefaults.textStyles to customize
FioriTextFieldColors that will be used to determine the color of the FioriNoteTextField parts in different state. See FioriTextFieldDefaults.colors to customize
FioriTextFieldStyles that will be used to determine the style of the FioriNoteTextField parts in different state. E,g, the padding, height. See FioriTextFieldDefaults.styles to customize
software keyboard options that contains configuration such as KeyboardType and ImeAction.
when the input service emits an IME action, the corresponding callback is called. Note that this IME action may be different from what you specified in KeyboardOptions.imeAction.
The visual transformation filter for changing the visual representation of the input. By default no visual transformation is applied.
the MutableInteractionSource representing the stream of Interactions for this FioriNoteTextField.
This optional callback function is called when the hyperlink in the inline notice is clicked.
an optional composable lambda to show custom assistive info view on top of the text field area.