Skip to content

Conversation

@bennypowers
Copy link
Member

@bennypowers bennypowers commented Oct 17, 2023

What I did

  1. forward pattern to input
  2. add helper-text
  3. add error-text
  4. add validate-on
  5. add --pf-c-form-control__error-text--m-status--Color (NOT PRESENT in react version)
  6. fix form state restore.

Testing Instructions

  1. check the demo
  2. fill out a field and refresh - state should be restored.

Notes to Reviewers

  1. see http://v4-archive.patternfly.org/v4/components/text-input/design-guidelines#errors-and-validation
  2. please critique my naming / api surface

@changeset-bot
Copy link

changeset-bot bot commented Oct 17, 2023

🦋 Changeset detected

Latest commit: d3db0af

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@patternfly/elements Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added demo Updating demo pages functionality Functionality, typically pertaining to the JavaScript. styles An issue or PR pertaining only to CSS/Sass labels Oct 17, 2023
@netlify
Copy link

netlify bot commented Oct 17, 2023

Deploy Preview for patternfly-elements ready!

Name Link
🔨 Latest commit ae1edd9
😎 Deploy Preview https://deploy-preview-2606--patternfly-elements.netlify.app/

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions github-actions bot added the AT passed Automated testing has passed label Oct 17, 2023
@bennypowers bennypowers force-pushed the feat/text-input/validation-pattern-attrs branch from 720383a to cf3f409 Compare October 17, 2023 10:35
@bennypowers bennypowers requested a review from zeroedin October 17, 2023 10:35
@bennypowers bennypowers self-assigned this Oct 17, 2023
@bennypowers bennypowers linked an issue Oct 19, 2023 that may be closed by this pull request
@eyevana eyevana self-requested a review October 26, 2023 16:27
Copy link
Contributor

@eyevana eyevana left a comment

Choose a reason for hiding this comment

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

Minor changes. Otherwise, looks good! :)

bennypowers and others added 2 commits October 29, 2023 20:45
Co-authored-by: Ivana Rodriguez <55894965+eyevana@users.noreply.github.com>
Co-authored-by: Ivana Rodriguez <55894965+eyevana@users.noreply.github.com>
@bennypowers bennypowers merged commit 2c019ac into main Oct 29, 2023
@bennypowers bennypowers deleted the feat/text-input/validation-pattern-attrs branch October 29, 2023 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AT passed Automated testing has passed demo Updating demo pages functionality Functionality, typically pertaining to the JavaScript. styles An issue or PR pertaining only to CSS/Sass

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[feat]: pf-text-input should have validation attributes

3 participants