Skip to content

Conversation

@german664
Copy link
Contributor

PBL Creation Flow: Internal form input fields

Fixed issue: IEX-1052

@german664 german664 self-assigned this Oct 20, 2025
@german664 german664 requested a review from a team as a code owner October 20, 2025 10:23
@german664 german664 changed the title Feature/create input with dropdown Create input with dropdown Oct 20, 2025
@german664 german664 force-pushed the feature/create-input-with-dropdown branch from 5c03e78 to c47c660 Compare October 20, 2025 10:47
@german664 german664 changed the title Create input with dropdown Create internal input with dropdown Oct 29, 2025
@german664 german664 force-pushed the feature/create-input-with-dropdown branch from c47c660 to 9ea3bcf Compare October 29, 2025 13:58
@german664 german664 force-pushed the feature/create-input-with-dropdown branch from 9ea3bcf to 92558ca Compare October 29, 2025 14:04
}

.adyen-pe-button--tertiary {
font-weight: 400;
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we use a token for this?

background: transparent;
outline: none;
border: 0;
outline: none !important;
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a way we could avoid using !important here? It will make it more difficult for final users to override this.

{hasIcons ? (
{hasDropdownOrIcons ? (
<div className="adyen-pe-input__container">
{shouldDisplayDropdownAtStart && dropdown && (
Copy link
Contributor

Choose a reason for hiding this comment

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

is the && dropdown verification redundant? we're already checking that dropdown is truthy in shouldShowDropdown

{iconAfter}
</span>
)}
{shouldDisplayDropdownAtEnd && dropdown && (
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

Comment on lines +190 to +191
onClickCapture={e => e.stopPropagation()}
onMouseDownCapture={e => e.stopPropagation()}
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Seems a little odd to stop the propagation in the parent div, we could consider an alternative approach?

onMouseDownCapture={e => e.stopPropagation()}
>
<Select
items={dropdown.items}
Copy link
Contributor

Choose a reason for hiding this comment

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

To have the same styles with dropdown position start below can be added
buttonVariant={ButtonVariant.TERTIARY}

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.

4 participants