tag helpers bug fix

pull/598/head
Yunus Emre Kalkan 6 years ago
parent b2a17134c4
commit 54b6cbc402

@ -143,7 +143,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
{
return;
}
else if (TagHelper.IsReadonly || GetAttribute<DisabledInput>(TagHelper.AspFor.ModelExplorer) != null)
else if (TagHelper.IsDisabled || GetAttribute<DisabledInput>(TagHelper.AspFor.ModelExplorer) != null)
{
inputTagHelperOutput.Attributes.Add("disabled", "");
}

Loading…
Cancel
Save