feat: 为待办内容增加行数限制
This commit is contained in:
parent
bc9face5a1
commit
c60805ae3c
1 changed files with 1 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ fun TodoContentTextField(
|
||||||
value = value,
|
value = value,
|
||||||
onValueChange = onValueChange,
|
onValueChange = onValueChange,
|
||||||
label = { Text(stringResource(R.string.placeholder_add_todo)) },
|
label = { Text(stringResource(R.string.placeholder_add_todo)) },
|
||||||
|
maxLines = 3,
|
||||||
isError = isError,
|
isError = isError,
|
||||||
supportingText = {
|
supportingText = {
|
||||||
AnimatedVisibility(
|
AnimatedVisibility(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue