Add edit and copy to clipboard
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script>
|
||||
export let name;
|
||||
export let src;
|
||||
export let className;
|
||||
export let name = '';
|
||||
export let src = '';
|
||||
export let className = '';
|
||||
</script>
|
||||
|
||||
<img
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
export let isRequired = false;
|
||||
export let className = '';
|
||||
export let selectClassName = '';
|
||||
export let color = 'default'; // primary
|
||||
export let onChange = () => {}; // This is to know if element is 'dirty'
|
||||
|
||||
// onMount(() => {
|
||||
@@ -22,6 +21,7 @@
|
||||
bind:value
|
||||
class="form-select block w-auto mt-1 {selectClassName}"
|
||||
required={isRequired}
|
||||
on:blur={() => {}}
|
||||
on:change={onChange}
|
||||
class:customColor={!!selectClassName}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user