Skip to content

Conversation

@adamviktora
Copy link
Contributor

@adamviktora adamviktora commented Jun 1, 2023

What: Closes #9218, #9187

@patternfly-build
Copy link
Contributor

patternfly-build commented Jun 1, 2023

@tlabaj tlabaj requested a review from mcarrano June 1, 2023 14:21
@tlabaj tlabaj requested a review from srambach June 1, 2023 15:41
Copy link
Member

@mcarrano mcarrano left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks @adamviktora !

Copy link
Contributor

@mcoker mcoker left a comment

Choose a reason for hiding this comment

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

This fixes the base styling, but it's worth noting that if this does not use <TextInput>, all changes to the core form control component will need to be maintained here separately.

For example, another thing that isn't working properly in this PR is the disabled styling, because the visual presentation for a disabled form control changed with v5 (the styles.formControl div also needs the class pf-m-disabled). You can see in v4 that the no items and one page example example inputs are disabled and they are not disabled in this PR build.

If we can't use <TextInput> here for some reason, it would be good to review this a little more to make sure there is full parity with the form control component.

Copy link
Contributor

@mcoker mcoker left a comment

Choose a reason for hiding this comment

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

L🎃TM!

<div className={styles.paginationNavPageSelect}>
<input
className={css(styles.formControl)}
<TextInput
Copy link
Contributor

Choose a reason for hiding this comment

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

🥳

@thatblindgeye thatblindgeye merged commit d53ca9d into patternfly:main Jun 6, 2023
@tlabaj tlabaj linked an issue Jun 6, 2023 that may be closed by this pull request
nicolethoen pushed a commit to Kells512/patternfly-react that referenced this pull request Sep 1, 2023
* fix(Pagination): remove spin buttons

* fix(Pagination): update snapshots and integration tests

* use TextInput instead of input, change page type from deprecated type

---------

Co-authored-by: Titani <tlabaj@redaht.com>
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.

Bug - Pagination - spin buttons on number input Bug - v5 alpha testing - pagination label wraps

7 participants