-
Notifications
You must be signed in to change notification settings - Fork 116
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
forms immediate server side validation #1672
Commits on Dec 8, 2022
-
This sets up a place to test form text fields that will automatically validate against the server. It makes tests around the existing text field functionality without the auto-server-validation. I pulled out the DeepMind fake model from an existing test file in order to share it with this new test file.
Configuration menu - View commit details
-
Copy full SHA for e25a8b7 - Browse repository at this point
Copy the full SHA e25a8b7View commit details -
Add JavaScript to form text_fields
This will allow us to validate a text field against the server with JavaScript using custom elements.
Configuration menu - View commit details
-
Copy full SHA for e7570ba - Browse repository at this point
Copy the full SHA e7570baView commit details -
Only have text-field data attributes when needed
When we show the validation elements, only include the data-target attributes when we need them.
Configuration menu - View commit details
-
Copy full SHA for 3893bb0 - Browse repository at this point
Copy the full SHA 3893bb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6875def - Browse repository at this point
Copy the full SHA 6875defView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0c11d7 - Browse repository at this point
Copy the full SHA e0c11d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for cabfedc - Browse repository at this point
Copy the full SHA cabfedcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9dd173 - Browse repository at this point
Copy the full SHA e9dd173View commit details -
Rename from <text-field> to <primer-text-field>
We decided that `text-field` was a bit too generic a name for the global custom element namespace on a page.
Configuration menu - View commit details
-
Copy full SHA for a75bba1 - Browse repository at this point
Copy the full SHA a75bba1View commit details -
Add AbortController to
primer-text-field
Prevent PrimerTextField event handlers from hanging around in weird cases. Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 740b46a - Browse repository at this point
Copy the full SHA 740b46aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3e6976 - Browse repository at this point
Copy the full SHA e3e6976View commit details -
Deploy assets from the entire demo lib dir
We were only deploying lib assets under `lib/postcss_mixins`, but now we have JavaScript coming from the lib directory as well.
Configuration menu - View commit details
-
Copy full SHA for 6b0c5e9 - Browse repository at this point
Copy the full SHA 6b0c5e9View commit details -
Exclude example form from coverage requirements
The underlying functionality is tested somewhere else, and these example forms are not used in the built gem.
Configuration menu - View commit details
-
Copy full SHA for d5466b7 - Browse repository at this point
Copy the full SHA d5466b7View commit details -
Put a note in rollup config about debuggers
Terser seems to be eliminating debugger statements during minification and we couldn't figure out why. For now, if you want to use the debugger in development you can comment out the line that adds the Terser plugin to Rollup.
Configuration menu - View commit details
-
Copy full SHA for 33acbe2 - Browse repository at this point
Copy the full SHA 33acbe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80c0227 - Browse repository at this point
Copy the full SHA 80c0227View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fd3217 - Browse repository at this point
Copy the full SHA 3fd3217View commit details