daisy / pipeline-ui

A user interface for the DAISY Pipeline 2
MIT License
5 stars 2 forks source link

Rendering crash on changing braille code input #150

Closed NPavie closed 1 year ago

NPavie commented 1 year ago

A UI rendering issue was detected when testing the dtbook to braille script with the latest engine update : When changing the "braille code" value, the form rendering is crashing on dev, raising a "maximum call stack size exceeded" RangeError.

The issue is triggered by the select input in the CustomField class. The problem seems to be that this input is uncontrolled and triggers infinite job update.

NPavie commented 1 year ago

(Note after closing : this issue was that the upper onChange handler with the wrong value passed to it)