DefaultModelBindingMessageProvider.NonPropertyValueMustBeANumberAccessor Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Error message HTML and tag helpers add for client-side validation of numeric formats. Visible in the
browser if the field for a float
(for example) collection element or action parameter does not have a
correctly-formatted value.
public:
virtual property Func<System::String ^> ^ NonPropertyValueMustBeANumberAccessor { Func<System::String ^> ^ get(); };
public override Func<string> NonPropertyValueMustBeANumberAccessor { get; }
member this.NonPropertyValueMustBeANumberAccessor : Func<string>
Public Overrides ReadOnly Property NonPropertyValueMustBeANumberAccessor As Func(Of String)
Property Value
Default String is "The field must be a number.".
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for