Skip to content

Commit 385720a

Browse files
committed
fix task form bug
1 parent 9767a8c commit 385720a

4 files changed

Lines changed: 13 additions & 25 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# 0.19.1 <small>2026-04-28</small>
2+
3+
## 🐛 Bug Fixes
4+
- Remove dependency on location partial so a task using the shared form control doesn't error out when handling hidden fields.
5+
6+
<!-- CHANGELOG_BOUNDARY -->
7+
18
# 0.19.0 <small>2026-04-26</small>
29

310
## 🚀 Features

src/OrchardCore.Transformalize/OrchardCore.Transformalize.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<TargetFramework>net10.0</TargetFramework>
44
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
55
<RootNamespace>TransformalizeModule</RootNamespace>
6-
<Version>0.19.0</Version>
7-
<FileVersion>0.19.0</FileVersion>
8-
<AssemblyVersion>0.19.0</AssemblyVersion>
6+
<Version>0.19.1</Version>
7+
<FileVersion>0.19.1</FileVersion>
8+
<AssemblyVersion>0.19.1</AssemblyVersion>
99
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1010
<Authors>Dale Newman</Authors>
1111
<Copyright>Copyright © 2013-2026</Copyright>

src/OrchardCore.Transformalize/Views/Form/Location.cshtml

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/OrchardCore.Transformalize/Views/Shared/Form.cshtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@
9999

100100
if (!parameter.Raw && !parameter.Input || parameter.PrimaryKey || parameter.InputType == "location" || parameter.Visible == "false") {
101101
<input type="hidden" name="@parameter.Name" value="@parameter.Value" id="id_@parameter.Name" />
102-
Html.RenderPartial("Location", parameter);
102+
@if (parameter.InputType == "location") {
103+
<script>$(function () { settings.location.@parameter.InputCapture = $("@("#id_" + parameter.Name)"); });</script>
104+
}
103105
continue;
104106
}
105107

0 commit comments

Comments
 (0)