Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurator crashes after "heads-up settings" #2208

Open
error414 opened this issue Oct 15, 2024 · 0 comments
Open

Configurator crashes after "heads-up settings" #2208

error414 opened this issue Oct 15, 2024 · 0 comments

Comments

@error414
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant