Vladimir Tkach
Vladimir Tkach
"antd": "^5.13.3", ... "rc-picker" (in deps): "3.14.6"
It seems like the error with moment.js usage Uncaught [TypeError: generateConfig[fn] is not a function] - setMillisecond is not a function. - getMillisecond is not a function.
` function fillTime(generateConfig, date, time) { var tmpDate = date; var getFn = ['getHour', 'getMinute', 'getSecond', 'getMillisecond']; var setFn = ['setHour', 'setMinute', 'setSecond', 'setMillisecond']; setFn.forEach(function (fn, index) { if (time)...
Depends on import findDOMNode from '**rc-util/lib/Dom/findDOMNode**'; .... const getDom = () => findDOMNode(elementRef.current) || // Support `nativeElement` format (elementRef.current && typeof elementRef.current === 'object' ? findDOMNode((elementRef.current as any)?.nativeElement) : null)...