Skip to content

Conversation

thet
Copy link
Member

@thet thet commented Dec 8, 2022

No description provided.

thet added 3 commits December 7, 2022 23:06
This is needed for better customization in deriving projects.
Make sure that submit events are canceled on invalid forms by using a
    capturing event handler which is invoked before non-capturing events.

The previous commit exposed a problem with the submit event handling,
    where the then non-capturing submit event handler was registered
    later than the one from pat-inject because pat-validation's async
    init method where pat-inject's init method is yet non-async. That
    happened even the pat-validation's pattern initialization is
    enforced to run first due to registration reordering in the Pattern
    registry. Now with the capturing event handler this problem is
    fixed.
@thet thet force-pushed the classbased-patterns branch from f69883c to e218af2 Compare December 8, 2022 21:07
@thet thet merged commit c32bf26 into master Dec 8, 2022
@thet thet deleted the classbased-patterns branch December 8, 2022 21:16
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.

1 participant