Remove ime action for non single-line dialog text fields
This commit is contained in:
@@ -101,7 +101,7 @@ fun TextFieldDialog(
|
|||||||
textStyle = typography.xs.semiBold.center,
|
textStyle = typography.xs.semiBold.center,
|
||||||
singleLine = singleLine,
|
singleLine = singleLine,
|
||||||
maxLines = maxLines,
|
maxLines = maxLines,
|
||||||
keyboardOptions = KeyboardOptions(imeAction = ImeAction.Done),
|
keyboardOptions = KeyboardOptions(imeAction = if (singleLine) ImeAction.Done else ImeAction.None),
|
||||||
keyboardActions = KeyboardActions(
|
keyboardActions = KeyboardActions(
|
||||||
onDone = {
|
onDone = {
|
||||||
if (isTextInputValid(textFieldValue.text)) {
|
if (isTextInputValid(textFieldValue.text)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user