fix: OTP autofill
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user