@@ -368,30 +368,23 @@ export const jobDetailsValidationSchema = Yup.object({
368368 baseSalary : Yup . number ( )
369369 . required ( "Base salary is required" )
370370 . min ( 0 , "Salary cannot be negative" )
371- . max ( 10000000 , "Salary seems unreasonably high" )
372371 . integer ( "Base salary must be an integer" ) ,
373372
374373 totalCTC : Yup . number ( )
375374 . required ( "Total CTC is required" )
376375 . min ( 0 , "CTC cannot be negative" )
377- . max ( 10000000 , "CTC seems unreasonably high" )
378376 . integer ( "Total CTC must be an integer" ) ,
379377
380378 takeHomeSalary : Yup . number ( )
381379 . nullable ( )
382- . min ( 0 , "Take home salary cannot be negative" )
383- . max ( 10000000 , "Take home salary seems unreasonably high" ) ,
380+ . min ( 0 , "Take home salary cannot be negative" ) ,
384381
385382 grossSalary : Yup . number ( )
386383 . nullable ( )
387- . min ( 0 , "Gross salary cannot be negative" )
388- . max ( 10000000 , "Gross salary seems unreasonably high" ) ,
384+ . min ( 0 , "Gross salary cannot be negative" ) ,
389385
390386 // Internship fields
391- stipend : Yup . number ( )
392- . nullable ( )
393- . min ( 0 , "Stipend cannot be negative" )
394- . max ( 1000000 , "Stipend seems unreasonably high" ) ,
387+ stipend : Yup . number ( ) . nullable ( ) . min ( 0 , "Stipend cannot be negative" ) ,
395388
396389 accommodation : Yup . boolean ( ) . nullable ( ) ,
397390
0 commit comments