We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeb47d5 commit 811c8fcCopy full SHA for 811c8fc
components/forms/studentInstrument.js
@@ -16,7 +16,7 @@ function StudentInstrument({ enrollment, token, options: instruments }) {
16
17
const updateInstrument = (ev) => {
18
const instrumentObj = instruments.find(
19
- (instr) => instr.id === ev.target.value,
+ (instr) => instr.id === parseInt(ev.target.value, 10),
20
);
21
22
if (instrumentObj) {
0 commit comments