bug in the CorePhone input component
Describe the bug
A clear and concise description of what the bug is. bug in the CorePhone input component enter the number above 15 digiti and it gets transformed to the scientific value
Proposed solution //copy the belo code and paste it in the corePhone
// eslint-disable-next-line unused-imports/no-unused-imports, no-unused-vars import React from "react";
import CoreInput from "./CoreInput"; import { sanitizeComponentProps } from "../../utils/componentUtil"; import { number } from "yup";
export default function CorePhone(props) {
props = sanitizeComponentProps(CorePhone, props);
return <CoreInput {...props} tyope = "text"
inputProps={{
inputMode: 'numeric',
pattern: "[0-9]*",
min: 1,
// step: 1,
max: 999999999999,
}}
/>;
}
CorePhone.validProps = [...CoreInput.validProps];
CorePhone.invalidProps = [];