Skip to content

Modify TextField to use different auto-check functionality #3247

@acbreton

Description

As mentioned by @camertron in this Slack thread, we're hoping to update the Primer::Alpha::TextField component so that it leverages the auto-check code found in auto-check.ts. There was an issue with trying to read a response object with text() after it had already been consumed in the auto-check utility method.

More info in this Slack thread.

@camertron :

  • Upstream the autocheck.ts code into PVC, which has a lot more mechanisms for announcing, etc than github/auto-check-element does.
  • Modify PVC to automatically attach that js-prevent-default-behavior class, or potentially monkeypatch in dotcom somehow.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions