Added phone number to vendor fields IO-414

This commit is contained in:
Patrick Fic
2020-12-01 22:36:31 -08:00
parent f89f385a4b
commit c6ae32b66d
17 changed files with 322 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
import React, { forwardRef } from "react";
import NumberFormat from "react-number-format";
function FormItemPhone(props, ref) {
return <NumberFormat {...props} ref={ref} type="tel" format="###-###-####" />;
return <NumberFormat {...props} className='ant-input' ref={ref} type="tel" format="###-###-####" />;
}
export default forwardRef(FormItemPhone);