π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
[WEB-1908] chore: update input type number validation to type text in estimate input form (#5086)
guru_sainathcd540e9641bc
diff --git a/web/core/components/estimates/points/create.tsx b/web/core/components/estimates/points/create.tsxindex 0c05beaba9..d4e01ee9f6 100644--- a/web/core/components/estimates/points/create.tsx+++ b/web/core/components/estimates/points/create.tsx@@ -152,11 +152,8 @@ export const EstimatePointCreate: FC<TEstimatePointCreate> = observer((props) =>};// derived values- const inputFieldType =- estimateType && [(EEstimateSystem.TIME, EEstimateSystem.POINTS)].includes(estimateType) ? "number" : "text";const inputProps = {- type: inputFieldType,- pattern: inputFieldType === "number" ? "[0-9]*" : undefined,+ type: "text",maxlength: MAX_ESTIMATE_POINT_INPUT_LENGTH,};diff --git a/web/core/components/estimates/points/update.tsx b/web/core/components/estimates/points/update.tsxindex cde02c2a0b..dce9a4289e 100644--- a/web/core/components/estimates/points/update.tsx+++ b/web/core/components/estimates/points/update.tsx@@ -160,11 +160,8 @@ export const EstimatePointUpdate: FC<TEstimatePointUpdate> = observer((props) =>};// derived values- const inputFieldType =- estimateType && [(EEstimateSystem.TIME, EEstimateSystem.POINTS)].includes(estimateType) ? "number" : "text";const inputProps = {- type: inputFieldType,- pattern: inputFieldType === "number" ? "[0-9]*" : undefined,+ type: "text",maxlength: MAX_ESTIMATE_POINT_INPUT_LENGTH,};