You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
@@ -33,7 +34,7 @@ function EditRoleForm({ onChange, role }) {
33
34
constonRoleChange=(state)=>{
34
35
if(state.hasValidationErrors){
35
36
onChange(false);
36
-
}else{
37
+
}else{
37
38
onChange(true,state.values);
38
39
}
39
40
};
@@ -61,11 +62,15 @@ function EditRoleForm({ onChange, role }) {
61
62
<th># of resources</th>
62
63
<th>Duration (weeks)</th>
63
64
<th>Start month</th>
65
+
<th>Full or Part Time</th>
64
66
</tr>
65
67
<trstyleName="role-row">
66
68
<td>
67
69
<Field
68
-
validate={composeValidators(validateExists,validateMin(1,'Should be 1 or greater'))}
70
+
validate={composeValidators(
71
+
validateExists,
72
+
validateMin(1,"Should be 1 or greater")
73
+
)}
69
74
name="numberOfResources"
70
75
initialValue={role.numberOfResources}
71
76
>
@@ -88,7 +93,13 @@ function EditRoleForm({ onChange, role }) {
88
93
</td>
89
94
<td>
90
95
<Field
91
-
validate={composeValidators(validateExists,validateMin(MIN_DURATION,`Talent as a Service engagements have a ${MIN_DURATION} week minimum commitment.`))}
96
+
validate={composeValidators(
97
+
validateExists,
98
+
validateMin(
99
+
MIN_DURATION,
100
+
`Talent as a Service engagements have a ${MIN_DURATION} week minimum commitment.`
101
+
)
102
+
)}
92
103
name="durationWeeks"
93
104
initialValue={role.durationWeeks}
94
105
>
@@ -143,6 +154,22 @@ function EditRoleForm({ onChange, role }) {
0 commit comments