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

[fix] Config editor issues #913

Merged
merged 3 commits into from
Sep 5, 2024
Merged

Commits on Aug 23, 2024

  1. [fix] Fix select fields in Device config editor #910

    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]>
    kkreitmair committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    0489eea View commit details
    Browse the repository at this point in the history
  2. [fix] Fix object and config menu not opening in Device config editor #…

    …910
    
    This addresses the problem, that the drop-down for Configuration Menu
    and Object Properties are not shown anymore in the device config
    editor, if a configuration section is saved, which has in its JSON
    schema definition a property with type array and should have unique
    items. The cause of the problem is a call to super, when there is no
    super. This commit will fix this issue by removing the call to super,
    because it is not needed in this special case neither in all other
    cases.
    
    Fixes #910
    
    Signed-off-by: Konrad Kreitmair <[email protected]>
    kkreitmair committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    2f53c4f View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Configuration menu
    Copy the full SHA
    d8e0155 View commit details
    Browse the repository at this point in the history