We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08b8d60 commit 7921a8aCopy full SHA for 7921a8a
src/BootstrapBlazor/BootstrapBlazor.csproj
@@ -1,7 +1,7 @@
1
<Project Sdk="Microsoft.NET.Sdk.Razor">
2
3
<PropertyGroup>
4
- <Version>9.5.0-beta03</Version>
+ <Version>9.5.0-beta04</Version>
5
</PropertyGroup>
6
7
<ItemGroup>
src/BootstrapBlazor/Components/Textarea/Textarea.razor.js
@@ -14,7 +14,7 @@ export function init(id) {
14
if (e.key === "Enter" || e.key === "NumpadEnter") {
15
const useShiftEnter = el.getAttribute('data-bb-shift-enter') === 'true';
16
const shiftKey = e.shiftKey;
17
- if (!shiftKey || !useShiftEnter) {
+ if (shiftKey && useShiftEnter) {
18
e.preventDefault();
19
}
20
0 commit comments