]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - src/api-viewer/APIViewer.js
api-viewer: show min/max for values without any other format
[proxmox-widget-toolkit.git] / src / api-viewer / APIViewer.js
index 2b04b8caf822ecb21e3c75ff2744410a16e57eea..879c9a30457d570c785a56988bc7e7fb36368e0e 100644 (file)
@@ -119,6 +119,9 @@ Ext.onReady(function() {
        if (type_fallback && pdef.type) {
            return `<${pdef.type}>`;
        }
+       if (pdef.minimum || pdef.maximum) {
+           return `${pdef.minimum || 'N'} - ${pdef.maximum || 'N'}`;
+       }
        return '';
     };