mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
fixes #602
This commit is contained in:
@@ -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`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user