Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import androidx.compose.foundation.text.input.rememberTextFieldState
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.semantics.isTraversalGroup
import androidx.compose.ui.semantics.semantics
import androidx.compose.ui.text.input.KeyboardType
Expand All @@ -27,6 +28,7 @@ fun CaptionLabeledTextField(
label: String,
state: TextFieldState,
modifier: Modifier = Modifier,
placeholder: String = stringResource(R.string.core_ui_text_field_placeholder),
keyboardType: KeyboardType = KeyboardType.Text,
) {
Column(
Expand All @@ -40,6 +42,7 @@ fun CaptionLabeledTextField(
)
AfternoteTextField(
state = state,
placeholder = placeholder,
keyboardType = keyboardType,
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import androidx.compose.ui.input.key.key
import androidx.compose.ui.input.key.onPreviewKeyEvent
import androidx.compose.ui.input.key.type
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.semantics.contentDescription
import androidx.compose.ui.semantics.semantics
import androidx.compose.ui.text.input.ImeAction
Expand Down Expand Up @@ -161,7 +162,7 @@ fun AfternoteTextField(
state: TextFieldState,
modifier: Modifier = Modifier,
type: TextFieldType = TextFieldType.Basic,
placeholder: String = "Text Field",
placeholder: String = stringResource(R.string.core_ui_text_field_placeholder),
keyboardType: KeyboardType = KeyboardType.Text,
imeAction: ImeAction = ImeAction.Default,
onImeAction: (() -> Unit)? = null,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ private fun SongSearchSection(
}
SongSearchTextField(
state = searchFieldState,
placeholder = "Text Field",
placeholder = stringResource(R.string.song_search_placeholder),
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<string name="afternote_editor_message_action_register">등록</string>
<string name="afternote_editor_message_action_delete">삭제</string>
<string name="afternote_editor_message_add_content_description">남기실 말씀 추가</string>
<string name="afternote_editor_message_text_field_placeholder">Text Field</string>
<string name="afternote_editor_message_text_field_placeholder">입력해 주세요</string>

<!-- 받은 기록함 (수신자 흐름) — 발신자 카드 리스트 -->
<string name="receiver_records_box_title">받은 기록함</string>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading