You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge branch 'improvement/inferred-values' into develop
Introduced support for displaying placeholders for inferred values, such as `DefaultValue`, `InheritedValue`, and `ImplicitValue`. For text input fields, this is straightforward, and simply required extending the `placeholder` definition. For dropdown lists—such as `FileList` and `TopicList`—this required changing the instructional label if an inferred value was present. For the `Boolean` attribute, I introduced a third, empty-valued radio button which displayed the inferred value. For both dropdown lists and radio buttons, I provide not only the inferred value, but also the source of the inferred value—i.e., "default value", "inherited value", or "implicit value". This satisfies the requirements of #26.
Note: This does _not_ account for the `TopicReference`, which introduces unique challenges. That will be deferred to a later date based on further evaluation. A new issue, #40, has been created for tracking that, but it hasn't been assigned to a milestone yet.
<inputtype="radio"asp-for="Value"value="0"id="@TagBuilder.CreateSanitizedId(ViewData.TemplateInfo.GetFullHtmlFieldName("No"), "_")"class="form-check-input"checked=@Model.IsFalse()disabled=@(!Model.AttributeDescriptor.IsEnabled)required=@Model.AttributeDescriptor.IsRequired /> No
0 commit comments