react-admin-date-inputs icon indicating copy to clipboard operation
react-admin-date-inputs copied to clipboard

Buttons not translated

Open sfarkas1988 opened this issue 5 years ago • 0 comments

Hey guys, my buttons (ok, cancel, clear) are not translated properly and I cannot find any way to overwrite the text of the buttons. Following my code to render DateInput in german. Besides of the buttons everything else is translated properly.

`import deLocale from "date-fns/locale/de"; import DateFnsUtils from '@date-io/date-fns'; import {DateInput} from 'react-admin-date-inputs';

<DateInput alwaysOn source="startDate" label="Start" parse={dateParser} providerOptions={{ utils: DateFnsUtils, locale: deLocale }} options={{ format: 'dd.MM.YYYY', clearable: true }} />`

Thank you in advance.

sfarkas1988 avatar Jul 09 '19 14:07 sfarkas1988