[Fix] Fixed additional lines not showing

This commit is contained in:
Robert von Burg 2021-11-24 15:00:02 +01:00
parent e749b556a1
commit 3f45fd8494
2 changed files with 18 additions and 10 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "strolch-wc-information-dialog", "name": "strolch-wc-information-dialog",
"description": "Strolch WebComponent Information Dialog", "description": "Strolch WebComponent Information Dialog",
"version": "0.1.5", "version": "0.1.6",
"authors": [ "authors": [
"Robert von Burg" "Robert von Burg"
], ],

View File

@ -66,28 +66,36 @@
value: './locales.json' value: './locales.json'
}, },
title: { title: {
type: String type: String,
value: null
}, },
line1: { line1: {
type: String type: String,
value: null
}, },
line2: { line2: {
type: String type: String,
value: null
}, },
line3: { line3: {
type: String type: String,
value: null
}, },
cancelLbl: { cancelLbl: {
type: String type: String,
value: null
}, },
okLbl: { okLbl: {
type: String type: String,
value: null
}, },
closeLbl: { closeLbl: {
type: String type: String,
value: null
}, },
confirmation: { confirmation: {
type: Boolean type: Boolean,
value: false
}, },
cancelable: { cancelable: {
type: Boolean, type: Boolean,
@ -104,7 +112,7 @@
}, },
isNotEmptyString: function (val) { isNotEmptyString: function (val) {
return Strolch.isNotEmptyString(); return val != null && typeof val === "string" && val.length > 0;
}, },
observers: [], observers: [],