Skip to content

Commit

Permalink
add labels to task title and details
Browse files Browse the repository at this point in the history
  • Loading branch information
reykjalin committed Oct 24, 2024
1 parent e84fc74 commit cef929c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion resources/js/src/entrypoints/Tasks.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -301,14 +301,19 @@
</div>

<div class="task-details">
<label for="title">Title </label>
<input
type="text"
name="title"
bind:value={selectedTaskDescription}
disabled={selectedTask == undefined}
on:change={debounce(updateSelectedTask, 200)}
on:input={debounce(updateSelectedTask, 1000)}
/>

<label for="details">Details </label>
<textarea
name="details"
disabled={selectedTask == undefined}
bind:value={selectedTaskDetails}
on:change={debounce(updateSelectedTask, 200)}
Expand All @@ -329,7 +334,7 @@
}
& div.task-list {
height: 100svb;
height: 90svb;
padding: 0.5rem 1rem;
border-inline-end: 1px solid var(--pico-color-violet-600);
Expand Down

0 comments on commit cef929c

Please sign in to comment.