Skip to content

Add validation for invalid model names #29

@sathwik-14

Description

@sathwik-14

If a user enters a model name starting with a number or special character, quikjs currently generates invalid JS files.
Add input validation to prompt.js to restrict invalid model names.

Acceptance Criteria:

Show an error or reprompt when an invalid name is entered.

Allow only alphabetic and underscore characters.

Add a short unit test for this behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions