ic-ui-kit
ic-ui-kit copied to clipboard
Internal issue 2830 - Override inbuilt error messages
On date input, disableFutureMessage property allows for custom error messages which helps localise our project - this is really handy! If the date input is invalid, we get the built in message 'please enter a valid date'. Would it be possible to have an invalidDateMessage property so we can localise the invalid date error message too?
Also, we have a similar issue with the maxLength on the text field component. We would like to localise the error message 'maximum length exceeded' e.g by having a maxLengthMessage property. What do you think?
Quick fix of introducing the prop, long term we will have an object of changing all validation messages