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

Support placeholder in drop down with multi state #499

Merged
merged 16 commits into from
Jan 30, 2022

Conversation

hadasfa
Copy link
Contributor

@hadasfa hadasfa commented Jan 27, 2022

No description provided.

@hadasfa hadasfa requested a review from sahariko January 27, 2022 15:15
Hadas Farhi added 3 commits January 27, 2022 17:16
…to bug/hadas/dropdown-multi-placeholder

� Conflicts:
�	src/components/Dropdown/components/ValueContainer/ValueContainer.jsx
@@ -10,12 +10,12 @@ import classes from "./ValueContainer.module.scss";
const EMPTY_ARRAY = [];

export default function Container({ children, selectProps, ...otherProps }) {
const { selectedOptions, onSelectedDelete, setIsDialogShown, isDialogShown, isMultiline } = selectProps.selectProps;
const { placeholder, selectProps: customProps = {} } = selectProps;
Copy link
Contributor

Choose a reason for hiding this comment

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

selectProps.selectProps? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that is the api 😅

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this holds all the props i pass as custom to the drop down sub components

@hadasfa hadasfa merged commit ab2bf78 into master Jan 30, 2022
@hadasfa hadasfa deleted the bug/hadas/dropdown-multi-placeholder branch January 30, 2022 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants