fix: OTP autofill

This commit is contained in:
cogwheel0
2025-09-20 18:53:25 +05:30
parent e8416d28e8
commit 185196df98
2 changed files with 6 additions and 0 deletions

View File

@@ -587,6 +587,8 @@ class _ModernChatInputState extends ConsumerState<ModernChatInput>
textInputAction: sendOnEnter
? TextInputAction.send
: TextInputAction.newline,
autofillHints:
const <String>[],
showCursor: true,
scrollPadding:
const EdgeInsets.only(

View File

@@ -520,6 +520,8 @@ class _UserMessageBubbleState extends ConsumerState<UserMessageBubble>
controller: _editController,
maxLines: null,
padding: EdgeInsets.zero,
autofillHints:
const <String>[],
style: AppTypography
.chatMessageStyle
.copyWith(
@@ -534,6 +536,8 @@ class _UserMessageBubbleState extends ConsumerState<UserMessageBubble>
: TextField(
controller: _editController,
maxLines: null,
autofillHints:
const <String>[],
style: AppTypography
.chatMessageStyle
.copyWith(