fieldphonenumberinput-allow-props-overwrite

This commit is contained in:
Vesa Luusua 2019-03-07 14:56:21 +02:00
parent f7d5341988
commit 78f314f791

View file

@ -11,10 +11,10 @@ import { format, parse } from './fiFormatter';
const FieldPhoneNumberInput = props => {
const inputProps = {
...props,
type: 'text',
format: format,
parse: parse,
...props,
};
return <FieldTextInput {...inputProps} />;