UseShiftEnter=\"true\" you can start using Shift + Enter for line breaks, which is suitable for dialog applications.",
+ "TextAreaUseShiftEnterPlaceHolder": "Please enter some text, Enter sends Shift + Enter line break",
+ "TextAreaUseShiftEnter": "Whether to use Shift + Enter instead of the original Enter key behavior"
},
"BootstrapBlazor.Server.Components.Samples.Toggles": {
"TogglesOnText": "On",
diff --git a/src/BootstrapBlazor.Server/Locales/zh-CN.json b/src/BootstrapBlazor.Server/Locales/zh-CN.json
index c0011c53a9a..a77f39725c0 100644
--- a/src/BootstrapBlazor.Server/Locales/zh-CN.json
+++ b/src/BootstrapBlazor.Server/Locales/zh-CN.json
@@ -3280,7 +3280,11 @@
"TextAreaScrollToBottom": "滚动到底部",
"TextAreaScrollToTop": "滚动到顶部",
"TextAreaScrollTo": "滚动+20",
- "TextAreaAutoScroll": "自动滚屏"
+ "TextAreaAutoScroll": "自动滚屏",
+ "TextAreaUseShiftEnterTitle": "Shift Enter",
+ "TextAreaUseShiftEnterIntro": "通过设置 UseShiftEnter=\"true\" 开始使用 Shift + Enter 进行换行操作,适用于对话框类应用",
+ "TextAreaUseShiftEnterPlaceHolder": "请输入一些文字,Enter 发送 Shift + Enter 换行",
+ "TextAreaUseShiftEnter": "是否使用 Shift + Enter 代替原回车按键行为"
},
"BootstrapBlazor.Server.Components.Samples.Toggles": {
"TogglesOnText": "开启",
diff --git a/src/BootstrapBlazor/Components/AutoComplete/AutoComplete.razor.js b/src/BootstrapBlazor/Components/AutoComplete/AutoComplete.razor.js
index 4feca07aaa3..c544d05f5ad 100644
--- a/src/BootstrapBlazor/Components/AutoComplete/AutoComplete.razor.js
+++ b/src/BootstrapBlazor/Components/AutoComplete/AutoComplete.razor.js
@@ -1,4 +1,4 @@
-import { debounce, getHeight } from "../../modules/utility.js"
+import { debounce } from "../../modules/utility.js"
import { handleKeyUp, select, selectAllByFocus, selectAllByEnter } from "../Input/BootstrapInput.razor.js"
import Data from "../../modules/data.js"
import EventHandler from "../../modules/event-handler.js"
diff --git a/src/BootstrapBlazor/Components/Textarea/Textarea.razor b/src/BootstrapBlazor/Components/Textarea/Textarea.razor
index b5cf9fa4dd8..bc249f4bfe6 100644
--- a/src/BootstrapBlazor/Components/Textarea/Textarea.razor
+++ b/src/BootstrapBlazor/Components/Textarea/Textarea.razor
@@ -6,4 +6,6 @@
{