Jobslines schema. Added phone number formatting.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import React, { forwardRef } from "react";
|
||||
import NumberFormat from "react-number-format";
|
||||
function FormItemPhone(props, ref) {
|
||||
return (
|
||||
<NumberFormat
|
||||
{...props}
|
||||
|
||||
type="tel"
|
||||
format="###-###-####"
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
export default forwardRef(FormItemPhone);
|
||||
Reference in New Issue
Block a user