Fix issue that parameter inputs on lower levels are very small

This commit is contained in:
Jan Oberhauser 2020-01-23 16:05:27 -08:00
parent 62134f639b
commit de098f7da4

View file

@ -30,6 +30,9 @@ export default Vue
}, },
computed: { computed: {
isMultiLineParameter () { isMultiLineParameter () {
if (this.level > 4) {
return true;
}
const rows = this.getArgument('rows'); const rows = this.getArgument('rows');
if (rows !== undefined && rows > 1) { if (rows !== undefined && rows > 1) {
return true; return true;
@ -37,6 +40,9 @@ export default Vue
return false; return false;
}, },
level (): number {
return this.path.split('.').length;
},
}, },
props: [ props: [
'displayOptions', 'displayOptions',