-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Restore missing ModelMetadata
properties (additional metadata)
#324
Comments
Don't need |
One more property not present in MVC 6.0's
|
ModelMetadata
public surfaceModelMetadata
properties (additional metadata)
To reiterate, MVC 5 does not rely on these The remaining properties are:
Leave side note: Not writing two of these properties when using the default metadata provider ( |
See #1758 for an interesting use case of |
Moving out beyond RTM, we will bring back based on user feedback. Seems lower priority for now, |
ModelMetadata
properties (additional metadata)ModelMetadata
properties (additional metadata)
Why is the watermark not imlemented and what sould I use instead ? |
@Aveline67 One workaround is to add the watermark to |
why is ModelMetadata.AdditionalValues a readonly dictionary, I can't Add anything to it, |
@omuleanu the You should write an |
At least AdditionalMetadata is easy to fix. Sample code implementing an AdditionalMetadataAttribute at |
Closing because there are no plans to implement this. |
In addition to #323, the legacy MVC version of
ModelMetadata
includes the following in its public surface. May need to copy at least some of these over to WebFx for compatibility., looks like a model binding gap related to theRequestValidationEnabled
[AllowHtml]
attribute but that attribute doesn't seem to exist (yet?)PropertiesAsArray
, perhaps minor but sorting may be important in some casesShortDisplayName
Watermark
The text was updated successfully, but these errors were encountered: