fix is_active error code ft vinix
This commit is contained in:
@@ -194,9 +194,7 @@ export const useErrorCodeLogic = (errorCodeForm, fileList) => {
|
||||
};
|
||||
|
||||
const handleSolutionStatusChange = (fieldId, status) => {
|
||||
// Update form immediately
|
||||
errorCodeForm.setFieldValue(`solution_status_${fieldId}`, status);
|
||||
// Then update local state
|
||||
// Only update local state - form is already updated by Form.Item
|
||||
setSolutionStatuses(prev => ({
|
||||
...prev,
|
||||
[fieldId]: status
|
||||
|
||||
Reference in New Issue
Block a user