Skip to content

Commit

Permalink
fix int inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
herrrta committed Jan 13, 2025
1 parent efbfc78 commit 1b11039
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Jellyfin.Plugin.Streamyfin/Configuration/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default function (view) {
disable_properties: true,
// disable_collapse: false,
no_additional_properties: true,
use_default_values: false
// use_default_values: false
});

Streamyfin.jsonEditor.on('ready', stylizeFormForJellyfin);
Expand Down Expand Up @@ -156,6 +156,12 @@ export default function (view) {
if (container) {
container.className = "inputContainer"
}

const format = child.dataset?.['data-schemaformat']

if (format && format.includes("int")) {
child.type = 'number';
}
}
})
})
Expand Down

0 comments on commit 1b11039

Please sign in to comment.