You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I'm getting error Uncaught Error: TD:: ".hooks" in not a known option. at ErrorMessages.unexpectedOptions (errors.ts:27:19) at OptionConverter.spread (optionConverter.ts:138:37) at OptionConverter._mergeOptions (optionConverter.ts:395:25) at TempusDominus._initializeOptions (tempus-dominus.ts:321:33) at new TempusDominus (tempus-dominus.ts:50:10) at hany_functions.js:47:13
The text was updated successfully, but these errors were encountered:
Thank you for answer.
But I have one more issue with this momentjs plugin, because I don't know how to configure it to parse more date formats. I have on one page more input fields with different formats (DD.MM.yyyy or DD.MM.yyyy HH:mm).
Could you advice me plz?
there's a meta object on the config that you can set to whatever you want. At that point you could use this.optionsStore.options.meta.myFormat. You don't have to use moment, btw. You do or use whatever you want to format it.
You could get the format some other way as well. The momentjs plugin is an easy to adapt example.
There's also discussions on #2537 on expanding the date time object to support other formats.
Hello, I'm trying to make own parse method using hooks.inputParse
But I'm getting error
Uncaught Error: TD:: ".hooks" in not a known option. at ErrorMessages.unexpectedOptions (errors.ts:27:19) at OptionConverter.spread (optionConverter.ts:138:37) at OptionConverter._mergeOptions (optionConverter.ts:395:25) at TempusDominus._initializeOptions (tempus-dominus.ts:321:33) at new TempusDominus (tempus-dominus.ts:50:10) at hany_functions.js:47:13
The text was updated successfully, but these errors were encountered: