react-json-schema-form-extras icon indicating copy to clipboard operation
react-json-schema-form-extras copied to clipboard

day picker props locale is not working any more

Open jasperswart opened this issue 6 years ago • 0 comments

I was using the locale like this:

'dct:modified': {
  'ui:field': 'rdp',
  rdp: {
    placeholder: 'Kies een datum',
    {
      locale: 'nl',
      firstDayOfWeek: 1,
      months: MONTHS,
      weekdaysLong: WEEKDAYS_LONG,
      weekdaysShort: WEEKDAYS_SHORT
    }
  }
},

that triggers an error in 0.9.12

jasperswart avatar Apr 12 '18 07:04 jasperswart