Repository navigation
feat: dropdown in form - #339
Conversation
Signed-off-by: Pratiksha Sankhe <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Reviewer's Guide by SourceryThis pull request introduces a dropdown component to the form, enhancing the form's functionality by allowing users to select from predefined options. The changes include modifications to the HTML demo file to incorporate the new dropdown and updates to the TypeScript form component to support the new 'select' field type. File-Level Changes
Tips
|
There was a problem hiding this comment.
Hey @psankhe28 - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider refactoring the renderInputTemplate function into smaller, type-specific functions to improve readability and maintainability.
- Remove commented-out code to keep the file clean and easier to read.
Here's what I looked at during the review
- 🟡 General issues: 3 issues found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.
There was a problem hiding this comment.
great work @psankhe28, just a few minor corrections to take a look at.
Signed-off-by: Pratiksha Sankhe <[email protected]>
Signed-off-by: Pratiksha Sankhe <[email protected]>
Signed-off-by: Pratiksha Sankhe <[email protected]>
|
@psankhe28, I hope you don't mind, I pushed a commit that fixed the lint issue and made sure it would be much easier to address for future contributors. |
Signed-off-by: Pratiksha Sankhe <[email protected]>
Signed-off-by: Pratiksha Sankhe <[email protected]> Co-authored-by: salihuDickson <[email protected]>
Description
#338
Fixes #(issue)
Checklist
Comments
Summary by Sourcery
This pull request introduces a new dropdown field to the form component, enhancing the form's functionality by allowing users to select from predefined options. The form component's rendering logic has been updated to support this new field type.