Skip to content

Commit bd89638

Browse files
committed
Fix for attribute text input with commas was truncated on the product detail page
1 parent 6e6d28f commit bd89638

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Presentation/SmartStore.Web/Views/Shared/ChoiceTemplates/Choice.TextArea.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
var placeholder = Model.Description.RemoveHtml().TrimSafe();
88
}
99

10-
<textarea cols="20" rows="2" id="@(controlId)" name="@(controlId)" class="form-control" placeholder="@placeholder" @Html.Attr("disabled", "disabled", Model.IsDisabled)>@Model.TextValue</textarea>
10+
<textarea cols="20" rows="2" id="@(controlId)" name="@(controlId)-text" class="form-control" placeholder="@placeholder" @Html.Attr("disabled", "disabled", Model.IsDisabled)>@Model.TextValue</textarea>

src/Presentation/SmartStore.Web/Views/Shared/ChoiceTemplates/Choice.TextBox.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
var placeholder = Model.Description.RemoveHtml().TrimSafe();
88
}
99

10-
<input name="@(controlId)" type="text" class="form-control" id="@(controlId)" placeholder="@placeholder" value="@Model.TextValue" @Html.Attr("disabled", "disabled", Model.IsDisabled) />
10+
<input name="@(controlId)-text" type="text" class="form-control" id="@(controlId)" placeholder="@placeholder" value="@Model.TextValue" @Html.Attr("disabled", "disabled", Model.IsDisabled) />

0 commit comments

Comments
 (0)