All notable changes to the ValidationExtensions will be documented in this file. The project adheres to Semantic Versioning.
- net9.0 as target framework.
2.6.0 - 2023-07-07
- Fixed issue with not indicating validation errors with a border around the control. By Robelind
- Fixed an issue where
RequiredIf
did not work withnull
values. By Robelind
2.5.1 - 2023-04-16
- Respect optional Error Message
- Use wrong error sentence
2.5.0 - 2023-03-27
- New attributes to check if a date is valid in the future or past.
2.4.0 - 2023-01-16
- Added
DynamicRangeAttribute<T>
which is the simplified and type-strong version ofDynamicRangeAttribute
. By mhb164
2.3.2 - 2023-01-09
2.3.1 - 2023-01-09
- Support for
netstandard2.0
andnet7.0
- Added
RequiredDynamicAttribute
which can accept method to validate complicated requirement(s) and more readable code. By mhb164
- Removed all
*IfNotAttribute
in favor of newly introducdedIsInverse
parameter. For example:[RequiredIfNot(nameof(OtherProperty), false)]
-->[RequiredIf(nameof(OtherProperty), false, isInverse: true)]
- Added
MinAttribute
which indicates that a number field has to have at least this value - Added
MinIfAttribute
which usedMinAttribute
if the condition is (not) met - Added
MaxAttribute
which indicates that a number field has to have at most this value - Added
MaxIfAttribute
which usedMaxAttribute
if the condition is (not) met
- Added
MinLengthRequiredIfAttribute
andMinLengthRequiredIfNotAttribute
- Added
MaxLengthRequiredIfAttribute
andMaxLengthRequiredIfNotAttribute
- Initial Release