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

Yaswanth/Added input props in dropdown component #60

Merged

Conversation

yaswanth-deriv
Copy link
Contributor

I needed to include the input component's props in the dropdown component and update the onChange prop to onInputChange.

@@ -89,7 +89,7 @@

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of the files currently are utilizing the px unit rather than rem. Let's keep it consistent throughout the whole project by using px as of now 👍🏼

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.I am creating other PR to address these comments.Thanks

Comment on lines +132 to 133
className={className}
disabled={disabled}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You dont need to specify these cause its already default component props. You already have {...rest} passed in the bottom, it will do the job for you

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.I am creating other PR to address these comments.Thanks

Comment on lines +31 to 32
className,
disabled,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

name: InputProps['name'];
onChange?: (inputValue: string) => void;
onSearch?: (inputValue: string) => void;
onSelect: (value: string) => void;
value?: InputProps['value'];
variant?: 'comboBox' | 'prompt';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yaswanth-deriv you should fix the variants as well.prompt variation is the one where you can type in it.

@shayan-deriv shayan-deriv merged commit eb7e5f6 into deriv-com:main Feb 15, 2024
1 check passed
Copy link

🎉 This PR is included in version 1.5.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

@yaswanth-deriv yaswanth-deriv deleted the yaswanth/Added_input_props_dropdown branch March 22, 2024 10:29
@yaswanth-deriv yaswanth-deriv restored the yaswanth/Added_input_props_dropdown branch March 22, 2024 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants