Skip to content

Commit

Permalink
[fix] Fix select fields in Device config editor #910
Browse files Browse the repository at this point in the history
For select fields, with predefined values in the corresponding JSON
schema, when a value is saved other than the default, the field will
be empty after saving in the Device config editor. This happens only,
in combination of the lib select2.  The cause of the issue is, that
the jsonschema-ui.js version does use a deprecated way to initialize
select2 inputs. This commit will fix this issue by updating the way of
initializing the inputs.

Fixes #910

Signed-off-by: Konrad Kreitmair <[email protected]>
  • Loading branch information
kkreitmair committed Aug 23, 2024
1 parent 8acc015 commit 0489eea
Showing 1 changed file with 1 addition and 1 deletion.
Loading

0 comments on commit 0489eea

Please sign in to comment.