debounce date after 100 ms instead of 1s w/ burnettk (#1556)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
This commit is contained in:
parent
096d1ef66e
commit
41e293c37b
|
@ -86,7 +86,7 @@ export default function BaseInputTemplate<
|
|||
_onChange(fullObject);
|
||||
},
|
||||
// delay in ms
|
||||
1000
|
||||
100
|
||||
);
|
||||
|
||||
let enableCounter = false;
|
||||
|
|
|
@ -176,7 +176,7 @@ const attemptToConvertUnknownDateStringFormatToKnownFormat = (
|
|||
if (normalizedDateString.match(dateFormatRegex)) {
|
||||
const newDate = parse(
|
||||
normalizedDateString,
|
||||
dateFormat.replaceAll(/MMM*/g, 'MM'),
|
||||
numericalDateFormat,
|
||||
new Date()
|
||||
);
|
||||
newDateString = convertDateObjectToFormattedString(newDate) || '';
|
||||
|
|
Loading…
Reference in New Issue