Can't access property "dirty"

Hi, I’m trying to fix a typo in the building name of some rooms on the location tab. When I click on save, it stuck, and I see this error in the Firefox and Chrome inspectors

Firefox

Uncaught (in promise) TypeError: can’t access property “dirty”, i.getFieldState(…) is undefined
onSubmit RoomEditModal.jsx:206
submit final-form.es.js:1284
handleSubmit react-final-form.es.js:268
Lodash 4
 Form.js:52
React 11
unstable_runWithPriority scheduler.production.min.js:18
React 3

Chrome

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘dirty’)

The problematic line on fileRoomEditModal.jsx:206is

const isAttributesDirty = form.getFieldState('attributes').dirty;

We use Indico v3.3.6

Is it a bug, or I’m doing something wrong ?. Is there an alternative way to fix the building name ?

Regards

Juan

Please update. I think this bug was fixed in v3.3.7.

Just FYI, both v3.3.7 and v3.3.8 had important security fixes, so you should have updated quite a while ago…

Thank you so much for the prompt reply! I made the upgrade and it solved the problem.