Skip to content

start_date end_date check format on input change - #81

Merged
danrademacher merged 5 commits into
stagingfrom
gin-issue280-startenddate_format
Sep 11, 2021
Merged

danrademacher merged 5 commits into
stagingfrom
gin-issue280-startenddate_format

Conversation

@gregallensworth

@gregallensworth gregallensworth commented Aug 25, 2021 •

Copy link
Copy Markdown

Refer to OpenHistoricalMap/issues#280

  • the Start Date and End Date fields are now text input, so will not malfunction if incomplete dates are given from the server
  • text-like input fields now have checkFieldValidation() on change/blur
  • checks start_date and end_date text inputs, for their being blank or fitting one of the 3 known formats (including negatives)
  • if not, then an alert is given, the field is blanked, and the field is focused

@gregallensworth gregallensworth changed the title Gin issue280 startenddate format start_date end_date check format on input change Sep 3, 2021

@danrademacher danrademacher left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed working in Firefox, which was our problem browser. Also confirmed in chrome and safari.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants