Ewl » Canonical The canonical version of EWL Read More
Clone URL:  
Pushed to 3 repositories · View In Graph Contained in tip and canonical

Fixed bugs in NumericTextControl extension creators.

Changeset b15f8b01739b

Parent eb92ed3c1ce0

by Profile picture of William GrossWilliam Gross

Changes to one file · Browse files at b15f8b01739b Showing diff from parent eb92ed3c1ce0 Diff from another changeset...

 
157
158
159
160
 
161
162
163
164
165
 
166
167
168
 
157
158
159
 
160
161
162
163
164
 
165
166
167
168
@@ -157,12 +157,12 @@
  if( postBackValue.Any() ) {   if( !long.TryParse( postBackValue, NumberStyles.None, CultureInfo.InvariantCulture, out var result ) || result > maxValue.Value ) {   validator.NoteErrorAndAddMessage( "The value is too large." ); - setup.ValidationErrorNotifier?.Invoke(); + setup?.ValidationErrorNotifier?.Invoke();   return;   }   if( result < minValue.Value ) {   validator.NoteErrorAndAddMessage( "The value is too small." ); - setup.ValidationErrorNotifier?.Invoke(); + setup?.ValidationErrorNotifier?.Invoke();   return;   }