Disabled inputs don't get submitted... good to know.

pull/19/head
Mark McDowall 13 years ago
parent a16defc5f0
commit 3ee5a3b1fc

@ -35,7 +35,8 @@
else else
{ {
@Html.LabelFor(x => x.Url) @Html.LabelFor(x => x.Url)
@Html.TextBoxFor(m => m.Url, new { disabled = "disabled" }) @Html.TextBox("DisabledIndexer", Model.Url, new { disabled = "disabled" })
@Html.HiddenFor(m => m.Url)
} }
@Html.LabelFor(x => x.ApiKey) @Html.LabelFor(x => x.ApiKey)

Loading…
Cancel
Save