Skip to content

Commit

Permalink
Textboxes no longer start with 9/100 word limit - ref #27
Browse files Browse the repository at this point in the history
  • Loading branch information
SomewhatMay committed Mar 12, 2024
1 parent 0d8b3cc commit f64f587
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/FormFlow/Section.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</script>

<div class="flex flex-col">
<span class="text-xl font-bold mb-2 mt-1">{section.header}</span>
<span class="text-xl font-bold mb-2 mt-1 text-center">{section.header}</span>
{#each section.inputs as input (input)}
<div>
{#if !(input.component.id == "serious foul reason") || ($activeResponses[id].data["serious foul"] != "None")}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/FormFlow/Textbox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
export let content: string = "";
const id: number = getContext("id")
$: content = String($activeResponses[id].data[component.id])
$: content = String($activeResponses[id].data[component.id] || "");
let wordLength = 0;
Expand Down

0 comments on commit f64f587

Please sign in to comment.