Correcting checkbox shape with runtime value rather than default value.

This commit is contained in:
Sipke Schoorstra
2014-11-24 14:47:34 -08:00
parent 90a61ea1f3
commit 8b1b2bfc1b

View File

@@ -65,7 +65,7 @@ namespace Orchard.DynamicForms.Drivers {
}
protected override void OnDisplaying(CheckBox element, ElementDisplayContext context) {
context.ElementShape.TokenizedValue = _tokenizer.Replace(element.Value, null);
context.ElementShape.TokenizedValue = _tokenizer.Replace(element.RuntimeValue, null);
}
}
}