From 3f45fd84943123b5991a2b77827bd6901c129c67 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Wed, 24 Nov 2021 15:00:02 +0100 Subject: [PATCH] [Fix] Fixed additional lines not showing --- bower.json | 2 +- strolch-wc-information-dialog.html | 26 +++++++++++++++++--------- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/bower.json b/bower.json index 8601a48..fa6ea66 100644 --- a/bower.json +++ b/bower.json @@ -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" ], diff --git a/strolch-wc-information-dialog.html b/strolch-wc-information-dialog.html index 7b7ecf8..e663ec8 100644 --- a/strolch-wc-information-dialog.html +++ b/strolch-wc-information-dialog.html @@ -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: [],