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: sendOnEnter
? TextInputAction.send ? TextInputAction.send
: TextInputAction.newline, : TextInputAction.newline,
autofillHints:
const <String>[],
showCursor: true, showCursor: true,
scrollPadding: scrollPadding:
const EdgeInsets.only( const EdgeInsets.only(

View File

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