This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fill ModelMetadata
gaps needed for HTML helpers
#323
Comments
This was referenced Apr 25, 2014
MusicStore requires DisplayName and ScaffoldColumn. |
DisplayName is already present - 7273286 |
@JaneZhouQ - Just discussed with @dougbu . As he has mentioned in the other issue, there is a TODO for this item to be complete. |
Closing this one because we now have issues for all remaining pieces. Current status:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The HTML helpers aren't completely copied over but already contain TODO items for missing
ModelMetadata
properties:, which is particularly importantDisplayName
HideSurroundingHtml
, the opposite of[Hidden]
attribute’sDisplayValue
propertySimpleDisplayText
(andprotected virtual GetSimpleDisplayText()
method), which @sornaks has already begun addingShowForDisplay
, which we might need to skip since[ScaffoldColumnAttribute]
doesn't seem to exist (yet?)In addition the default editor templates need:
HasNonDefaultEditFormat
ShowForEdit
, with same caveat asShowForDisplay
And finishing validation will require:
IsRequired
!!The text was updated successfully, but these errors were encountered: