Skip to content

Commit 9efdab8

Browse files
INN-1585 New Sign up 1st QA round
- INN-2196 Modified OutlinedTextField to only show label when value is empty
1 parent 6a6c8f5 commit 9efdab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/src/main/java/com/ifeel/components/ui/components/generic/textfield/OutlinedTextField.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ fun OutlinedTextField(
8181
lineHeight = 24.sp,
8282
),
8383
label = {
84-
if (!isFocused && inputText != null) {
84+
if (!isFocused && inputText != null && value.isEmpty()) {
8585
Text(
8686
text = inputText,
8787
style = BodyTextStyle.Body16Regular.toTextStyle()

0 commit comments

Comments
 (0)