aws-samples / serverless-eda-insurance-claims-processing

MIT No Attribution
50 stars 17 forks source link

Set a default date for FNOL occurrence date #21

Closed dmahapatro closed 1 year ago

dmahapatro commented 1 year ago

Is your feature request related to a problem? Please describe. While filing new claim, set the "Occurrence Date Time" to 3 days in future by default. Ideally, a policy gets created in the past when onboarding a customer. When the insurer files a claims, the policy creation date would be in the past. In order to mimic that behavior in the demo, you would want the occurrenceDateTime set to a future date.

Setting this date on page load saves time for demo purposes

Describe the solution you'd like Added default value for the date field

Describe alternatives you've considered N/A

Additional context N/A