Fixed
Status Update
Comments
cl...@google.com <cl...@google.com>
co...@google.com <co...@google.com>
ma...@google.com <ma...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit b2c3164b907798ad87c70db5c2d35b0745f1948f
Author: Max Alfonso-Ying <maxying@google.com>
Date: Wed Aug 03 21:31:07 2022
Add supporting text slot to text field API.
Some samples have been updated to display the new
usage. Also, various references to `border` in
OutlinedTextField have been renamed to `container`
for consistency.
Bug: b/227146125
Test: new screenshot tests added
Relnote: "Added slot param for supporting text to text field API"
Change-Id: Iaac0d260b17ccf2999a4ea99a132b80e8f0bbadc
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/OutlinedTextFieldScreenshotTest.kt
M compose/material3/material3/api/public_plus_experimental_1.0.0-beta03.txt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/TextFieldDecorationBoxTest.kt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/OutlinedTextFieldTest.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextFieldImpl.kt
M compose/material3/material3/api/public_plus_experimental_current.txt
M compose/material3/material3/samples/src/main/java/androidx/compose/material3/samples/TextFieldSamples.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextField.kt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/TextFieldScreenshotTest.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextFieldDefaults.kt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/TextFieldTest.kt
https://android-review.googlesource.com/2171560
Branch: androidx-main
commit b2c3164b907798ad87c70db5c2d35b0745f1948f
Author: Max Alfonso-Ying <maxying@google.com>
Date: Wed Aug 03 21:31:07 2022
Add supporting text slot to text field API.
Some samples have been updated to display the new
usage. Also, various references to `border` in
OutlinedTextField have been renamed to `container`
for consistency.
Bug:
Test: new screenshot tests added
Relnote: "Added slot param for supporting text to text field API"
Change-Id: Iaac0d260b17ccf2999a4ea99a132b80e8f0bbadc
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/OutlinedTextFieldScreenshotTest.kt
M compose/material3/material3/api/public_plus_experimental_1.0.0-beta03.txt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/TextFieldDecorationBoxTest.kt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/OutlinedTextFieldTest.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextFieldImpl.kt
M compose/material3/material3/api/public_plus_experimental_current.txt
M compose/material3/material3/samples/src/main/java/androidx/compose/material3/samples/TextFieldSamples.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextField.kt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/TextFieldScreenshotTest.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextFieldDefaults.kt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/TextFieldTest.kt
ma...@google.com <ma...@google.com>
na...@google.com <na...@google.com> #3
This bug was linked in a change in the following release(s):
androidx.compose.material3:material3:1.0.0-rc01
Description
Add errorMessage param to show a message when onError is true, below the input box, as material's TextInputLayout has for the View system.
Currently, the community is implementing a simple workaround of adding a smaller Text below with the error, as the Text doesn't come with it our of the box.