fix: OTP autofill
This commit is contained in:
@@ -587,6 +587,8 @@ class _ModernChatInputState extends ConsumerState<ModernChatInput>
|
||||
textInputAction: sendOnEnter
|
||||
? TextInputAction.send
|
||||
: TextInputAction.newline,
|
||||
autofillHints:
|
||||
const <String>[],
|
||||
showCursor: true,
|
||||
scrollPadding:
|
||||
const EdgeInsets.only(
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user