…t with dialog information showing the error and if the init start date
is null fill it with the needed value
<!--
Thanks for contributing!
Provide a description of your changes below and a general summary in the
title
Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->
## Jira Ticket
[SP-368](https://syncrow.atlassian.net/browse/SP-368)
## Description
now if user change end time into value before start time it prevent it
and give init start date value to start date
## Type of Change
<!--- Put an `x` in all the boxes that apply: -->
- [ ] ✨ New feature (non-breaking change which adds functionality)
- [x] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ] ❌ Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ] ✅ Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
[SP-368]:
https://syncrow.atlassian.net/browse/SP-368?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
<!--
Thanks for contributing!
Provide a description of your changes below and a general summary in the
title
Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->
## Jira Ticket
[SP-368](https://syncrow.atlassian.net/browse/SP-368)
## Description
1. Shows an error dialog when the users sets the start date in create
visitor password that is before current time.
2. Initially sets the Start Date time as now.
## Type of Change
<!--- Put an `x` in all the boxes that apply: -->
- [x] ✨ New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ] ❌ Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ] ✅ Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
[SP-368]:
https://syncrow.atlassian.net/browse/SP-368?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ