Complete questionnaire builder
This commit is contained in:
@@ -1,15 +1,19 @@
|
||||
<script>
|
||||
export let label;
|
||||
export let placeholder;
|
||||
export let placeholder = "Write your answer...";
|
||||
export let value;
|
||||
</script>
|
||||
|
||||
<label class="block">
|
||||
<span class="text-gray-700">{label}</span>
|
||||
{#if label}
|
||||
<span class="text-gray-700">{label}</span>
|
||||
{/if}
|
||||
<textarea
|
||||
class="form-textarea mt-1 block w-full h-24"
|
||||
rows="3"
|
||||
{placeholder}
|
||||
bind:value
|
||||
/>
|
||||
|
||||
<slot name="iconbutton" />
|
||||
</label>
|
||||
|
||||
Reference in New Issue
Block a user