Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Fill ModelMetadata gaps needed for HTML helpers #323

Closed
dougbu opened this issue Apr 25, 2014 · 5 comments
Closed

Fill ModelMetadata gaps needed for HTML helpers #323

dougbu opened this issue Apr 25, 2014 · 5 comments

Comments

@dougbu
Copy link
Member

dougbu commented Apr 25, 2014

The HTML helpers aren't completely copied over but already contain TODO items for missing ModelMetadata properties:

  • DisplayName, which is particularly important
  • HideSurroundingHtml, the opposite of [Hidden] attribute’s DisplayValue property
  • SimpleDisplayText (and protected virtual GetSimpleDisplayText() method), which @sornaks has already begun adding
  • ShowForDisplay, 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 as ShowForDisplay

And finishing validation will require:

  • IsRequired !!
@JaneZhouQ
Copy link

MusicStore requires DisplayName and ScaffoldColumn.

@sornaks
Copy link

sornaks commented May 16, 2014

DisplayName is already present - 7273286

@JaneZhouQ
Copy link

@sornaks, could you please update #532 and assign that issue to @kirthik to validate?

@sornaks
Copy link

sornaks commented May 16, 2014

@JaneZhouQ - Just discussed with @dougbu . As he has mentioned in the other issue, there is a TODO for this item to be complete.

@dougbu
Copy link
Member Author

dougbu commented Jul 22, 2014

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.
Projects
None yet
Development

No branches or pull requests

6 participants