[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",
"description": "Strolch WebComponent Information Dialog",
"version": "0.1.5",
"version": "0.1.6",
"authors": [
"Robert von Burg"
],

View File

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