Open
Description
Bug report
Title
Workflow not saving – no validation message shown and user redirected to bottom of the page
Issue Description
While creating a new workflow in Krayin CRM, after filling all the fields and clicking the Save button:
- The workflow does not get saved
- The user is redirected to the bottom of the page
- No validation error message is shown
- There is no indication of what field is missing or incorrect
This creates confusion for the user and makes it difficult to correct the form.
Preconditions
1. Krayin CRM version: [Your version here]
2. Laravel version: [Your Laravel version here]
3. Browser: Chrome / Firefox / Edge
Steps to reproduce
1. Log in to Krayin CRM
2. Go to **Settings**
3. Under the **Automation** section, click on **Workflow**
4. Click on **Create Workflow**
5. Fill in all visible fields (name, event, conditions, actions, etc.)
6. Click the **Save** button
7. Observe that the workflow does not save and the page scrolls to the bottom
Expected result
- Workflow should be saved if all required fields are filled
- If any field is missing or incorrect:
- Show proper validation error message
- Redirect user to that specific input field
- Highlight the error clearly
Actual result
Clicking the Save button redirects the user to the bottom of the page
No feedback is shown, and the workflow is not saved
- User is left without knowing what went wrong
- No validation hints or alerts are triggered
- Causes bad user experience and broken flow
Video link- https://webkul.chatwhizz.com/share/view-recording/67f3d457280d9b12484ff8e2