From 4d06c8f2bc993982205cc526d9fd80d989c9cefe Mon Sep 17 00:00:00 2001 From: Steven Van Ryckeghem Date: Sun, 12 Mar 2017 20:30:59 +0100 Subject: [PATCH] Fix for #2255 --- components/datalist/datalist.css | 4 ++++ components/datalist/datalist.ts | 3 +++ showcase/demo/datalist/datalistdemo.html | 10 ++++++++++ 3 files changed, 17 insertions(+) diff --git a/components/datalist/datalist.css b/components/datalist/datalist.css index 6b764f51f87..9aa70e674d4 100644 --- a/components/datalist/datalist.css +++ b/components/datalist/datalist.css @@ -24,4 +24,8 @@ .ui-datalist .ui-datalist-data > li { list-style-type: none; +} + +.ui-datalist .ui-datalist-emptymessage { + padding: .5em .75em; } \ No newline at end of file diff --git a/components/datalist/datalist.ts b/components/datalist/datalist.ts index 798933f1a27..a57cabc2727 100644 --- a/components/datalist/datalist.ts +++ b/components/datalist/datalist.ts @@ -14,6 +14,7 @@ import {BlockableUI} from '../common/api';
+
{{emptyMessage}}
@@ -342,6 +348,10 @@

Styling

ui-datalist-data Item container element. + + ui-datalist-emptymessage + Element containing the empty message. +