Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Input Number Validation During Beckn ONIX Installation #207

Open
8 tasks done
emmayank opened this issue Sep 2, 2024 · 2 comments
Open
8 tasks done

Add Input Number Validation During Beckn ONIX Installation #207

emmayank opened this issue Sep 2, 2024 · 2 comments
Assignees
Labels
beckn onix beckn onix project enhancement New feature or request

Comments

@emmayank
Copy link

emmayank commented Sep 2, 2024

Description

Implement input number validation during the Beckn ONIX installation process. If a page or sub-page offers numeric options (e.g., 1-5), selecting an invalid number like 6 should be prohibited. Additionally, input validation should ensure that alphabetic characters are not accepted, as only numeric options are valid.

Goals

  • Prevent users from selecting invalid numeric options during the installation process.
  • Ensure that only numeric inputs are accepted, disallowing alphabetic characters.

Expected Outcome

  1. Users are restricted to selecting valid numeric options based on the available choices on each page or sub-page.
  2. If an invalid numeric option or alphabetic character is entered, an error message is displayed, and the user is prompted to make a valid selection.

Acceptance Criteria

  • On any page or sub-page where 1-5 options are available, selecting an option like 6 is considered invalid, and an error message is displayed.
  • The same validation applies to all sub-pages where numeric options are provided.
  • Alphabetic characters are not allowed for any numeric input fields, and an error message is displayed if such characters are entered.
  • The installation process only continues when a valid numeric option is selected.
  • The code changes are reviewed and approved by the development team.
  • The installation process is tested to ensure the validation works correctly across all pages and sub-pages without affecting other functionalities.

Mockups / Wireframes

N/A

Product Name

Beckn ONIX

Domain

N/A

Tech Skills Needed

Devops

Complexity

High

Category

Deployment

Sub Category

Installation

@emmayank emmayank added enhancement New feature or request beckn onix beckn onix project labels Sep 2, 2024
@viraj89 viraj89 mentioned this issue Sep 6, 2024
3 tasks
@prasad-takale-eminds
Copy link
Contributor

The necessary code fix has been pushed to the repository. Since we pushed the code to the same branch, it automatically merged into the existing pull request (PR).
PR: #216

SS for the menu.
Image

Sub menu
Image

@emmayank
Copy link
Author

Review Completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beckn onix beckn onix project enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants