inav-configurator icon indicating copy to clipboard operation
inav-configurator copied to clipboard

Configurator crashes after "heads-up settings"

Open error414 opened this issue 1 year ago • 0 comments

Inav configurator crashes if you change anything in OSD tab, in "Heads-up Display settings". It's casued by https://github.com/iNavFlight/inav-configurator/blob/master/js/gui.js#L129 .

These elements have set class "toggle" https://github.com/iNavFlight/inav-configurator/blob/master/tabs/osd.html#L394 but I would say that it's wrong, because inputs are types "number", not checkbox.

It seems that if we incialize switchery for "number" input type, then switchery is not inicialized properly and some propertirs are missing inside switchery wrong_toogle And mainly it does not make sense to inizialized switchery for input type number.

I would fix it, but changes around switchery are old and it works for inav 7.xx, so maybe it's connected with electron.

error414 avatar Oct 15 '24 20:10 error414