This commit is contained in:
Cory LaViska
2021-12-07 16:52:17 -05:00
parent 2be6ec1711
commit 68bb155793
2 changed files with 2 additions and 3 deletions

View File

@@ -141,9 +141,7 @@ export default class SlColorPicker extends LitElement {
/** The locale to render the component in. */
@property() lang: string;
connectedCallback() {
super.connectedCallback();
firstUpdated() {
if (!this.setColor(this.value)) {
this.setColor(`#ffff`);
}