undefined is not registered, key: save, after update to version "^0.5.1"
I get this error after upgrade:
[react-native-paper-dates] undefined is not registered, key: save at node_modules/react-native-paper-dates/src/Date/DayNames.tsx:29:54 in React.useMemo$argument_0
See release notes, we did a breaking change, you have to register the language since we'll add more error messages in the future etc. Please add a PR if your language is not en/nl
Yes I realised that and fixed it. Thanks. One more problem is that when I set the saveLabel to null, it set it to 'Save' initially. But I need to remove the save bottom. I set a space (' ') for that and it does not show the label, but is clickable.
Why do you not want the save label?
When the user select a date, it would be close automatically. Then there us no need to have the save button. Additionally, they can not even click on it. Because after selecting a date, the modal would be close.