Skip to content

Fix create-stream form start time picker accepting past timestamps without a warning #365

Description

@Chuks-coderr

Overview

The start time picker allows selecting dates and times in the past. The contract rejects past start times, but the user only finds out after signing the transaction — a poor experience.

Problem

Users who accidentally select a past start time waste a wallet signature and see a confusing contract error instead of an immediate form-level validation message.

Proposed Solution

  • Add client-side validation on the start time field: if the selected time is in the past, show an inline error immediately
  • Disable the submit button while the start time is invalid
  • Re-validate on form focus (in case the user leaves the tab open and the selected time becomes past)

Acceptance Criteria

  • Inline error shown immediately when start time is in the past
  • Submit button disabled while start time is invalid
  • Validation re-runs when the form regains focus
  • No regression for valid future start times

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbugSomething isn't workingcomplexity: highComplex feature, refactor, or new integration

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions