-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
Block Editor Form Validation #7369
Open
JoryHogeveen
wants to merge
12
commits into
main
Choose a base branch
from
feature/7343-form-validation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Oct 14, 2024
-
This hook will override the WP Editor savePost action just like ACF (for the time being) until a stable PreSavePost hook becomes available. I've already added todo tags into the code as a reminder. Code is based on ACF: https://github.com/AdvancedCustomFields/acf/blob/6.3.8/assets/build/js/acf-input.js#L11285
Configuration menu - View commit details
-
Copy full SHA for 55fa52b - Browse repository at this point
Copy the full SHA 55fa52bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6b8791 - Browse repository at this point
Copy the full SHA a6b8791View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14f4da4 - Browse repository at this point
Copy the full SHA 14f4da4View commit details -
Use hook on init to properly set global vars
At this point `wp.data.dispatch('core/editor')` is available React is not rendered yet so we can properly override the savePost function.
Configuration menu - View commit details
-
Copy full SHA for 17610dd - Browse repository at this point
Copy the full SHA 17610ddView commit details
Commits on Oct 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e43afda - Browse repository at this point
Copy the full SHA e43afdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50b12ad - Browse repository at this point
Copy the full SHA 50b12adView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0848d9 - Browse repository at this point
Copy the full SHA b0848d9View commit details -
Merge branch 'feature/7343-form-validation' of https://github.com/pod…
…s-framework/pods into feature/7343-form-validation
Configuration menu - View commit details
-
Copy full SHA for 9428792 - Browse repository at this point
Copy the full SHA 9428792View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1203826 - Browse repository at this point
Copy the full SHA 1203826View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b2ddae - Browse repository at this point
Copy the full SHA 1b2ddaeView commit details -
Add
meetsConditionalLogic
as a hook dependencySigned-off-by: Jory Hogeveen <JoryHogeveen@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d8a0abe - Browse repository at this point
Copy the full SHA d8a0abeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60f9a41 - Browse repository at this point
Copy the full SHA 60f9a41View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.