You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FAQ.md 1.1 KiB

4 years ago
12345678910111213141516171819202122
  1. # FAQs
  2. # How do I disable the date or time element
  3. <small>How do I format ...; How do I add seconds; etc.</small>
  4. The picker uses the `format` option to decide what components to show. Set `format` to `LT`, `LTS` or another valid [MomentJs format string](http://momentjs.com/docs/#/displaying/format/) to display certain components
  5. # How do I change the language/locale
  6. The picker uses MomentJs to determine the language string. You can use `moment-with-locales` or you can include whatever local file you need. Set the picker's `locale` option to `de` or whatever the locale string is.
  7. # How do I change the styles? The picker closes.
  8. Set `debug:true` which will force the picker to stay open, even `onBlur`. You can hide the picker manually by calling `hide()`
  9. # How do I change the start of the week?
  10. Start of the week is based on the [`locale` provided](Options.md#locale). This is defined by moment's locales. If you want to change it, create your own locale file or override. [See moment's docs](http://momentjs.com/docs/#/i18n/).
  11. # How I use the picker as birthday picker?
  12. Use the [`viewMode`](Options.md#viewmode) option to `'years'`