Skip to content

Commit

Permalink
[AERIE-1505] feat: move placeholder time format display to label so a…
Browse files Browse the repository at this point in the history
…s to be visible at all times (#53)
  • Loading branch information
duranb authored Jul 8, 2022
1 parent 82eec3f commit 260db0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/activity/ActivityForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
</fieldset>

<Field field={startTimeField} on:valid={onUpdateStartTime}>
<label for="start-time" slot="label">Start Time</label>
<label for="start-time" slot="label">Start Time - YYYY-DDDThh:mm:ss</label>
<input autocomplete="off" class="st-input w-100" disabled={isChild} name="start-time" />
</Field>

Expand Down
8 changes: 4 additions & 4 deletions src/routes/plans/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,13 @@
</Field>

<Field field={startTimeField}>
<label for="start-time" slot="label">Start Time</label>
<input autocomplete="off" class="st-input w-100" name="start-time" placeholder="YYYY-DDDThh:mm:ss" />
<label for="start-time" slot="label">Start Time - YYYY-DDDThh:mm:ss</label>
<input autocomplete="off" class="st-input w-100" name="start-time" />
</Field>

<Field field={endTimeField}>
<label for="end-time" slot="label">End Time</label>
<input autocomplete="off" class="st-input w-100" name="end-time" placeholder="YYYY-DDDThh:mm:ss" />
<label for="end-time" slot="label">End Time - YYYY-DDDThh:mm:ss</label>
<input autocomplete="off" class="st-input w-100" name="end-time" />
</Field>

<Field field={simTemplateField}>
Expand Down

0 comments on commit 260db0a

Please sign in to comment.