Skip to content

Commit

Permalink
feat(planting): disable autocapitalize for new seed inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
artaommahe committed Jun 15, 2024
1 parent aa4a308 commit 521cf08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/planting/new-seed/new-seed.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ import { ChangeDetectionStrategy, Component, output, signal } from '@angular/cor
<!-- TODO: ui/input -->
@if (mode() === 'single') {
<input
type="text"
class="p-2 border border-primary/50 text-center grow"
type="text"
placeholder="New seed"
autocapitalize="off"
[value]="newSeed()"
(input)="updateSeed($event)"
(keydown.enter)="saveSeed()"
Expand All @@ -28,6 +29,7 @@ import { ChangeDetectionStrategy, Component, output, signal } from '@angular/cor
class="grow p-2 border border-primary/50"
placeholder="One seed a line"
rows="10"
autocapitalize="off"
#seedsList
></textarea>
Expand Down

0 comments on commit 521cf08

Please sign in to comment.