modifio
modifio copied to clipboard
files could only convert to 1 type of the time.
As mentioned in your video, files could only convert to 1 type at the same time. It is because you use "selcted". You could solve it by changing the code as follow:
// setSelected(value);
updateAction(action.file_name, value);
}}
value={action.to }
as follow, you also need to correct the type to match the accepted value type.