mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Removed T property that was hiding T from base.
This commit is contained in:
@@ -2,14 +2,10 @@ using System;
|
||||
using Orchard.DynamicForms.Services;
|
||||
using Orchard.DynamicForms.Services.Models;
|
||||
using Orchard.Fields.Fields;
|
||||
using Orchard.Localization;
|
||||
|
||||
namespace Orchard.DynamicForms.Bindings {
|
||||
public class BooleanFieldBindings : Component, IBindingProvider {
|
||||
public BooleanFieldBindings() {
|
||||
T = NullLocalizer.Instance;
|
||||
}
|
||||
|
||||
|
||||
public void Describe(BindingDescribeContext context) {
|
||||
context.For<BooleanField>()
|
||||
.Binding("Value", (contentItem, field, s) => field.Value = IsTrueish(s));
|
||||
|
||||
Reference in New Issue
Block a user