Perbaikan Project PPOB
This commit is contained in:
@@ -20,6 +20,7 @@ import { ModalLoaderContext } from "../utils/modal";
|
||||
|
||||
export const PartnerComponent = observer((props) => {
|
||||
const store = useStore();
|
||||
const [value, setValue] = useState();
|
||||
const [form] = Form.useForm();
|
||||
const history = useHistory();
|
||||
const [idData, setIdData] = useState("");
|
||||
@@ -415,9 +416,21 @@ export const PartnerComponent = observer((props) => {
|
||||
required: true,
|
||||
message: "Please input password phone number!",
|
||||
},
|
||||
{
|
||||
pattern: /^(?:\d*)$/,
|
||||
message: "Value should contain just number",
|
||||
},
|
||||
{
|
||||
pattern: /^[\d]{0,12}$/,
|
||||
message: "Value should be less than 12 character",
|
||||
},
|
||||
]}
|
||||
>
|
||||
<Input />
|
||||
<Input
|
||||
onChange={(value) => {
|
||||
setValue(value);
|
||||
}}
|
||||
/>
|
||||
</Form.Item>
|
||||
)}
|
||||
{!isChangePassword && (
|
||||
|
||||
Reference in New Issue
Block a user