Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
senadir committed Aug 16, 2021
1 parent f767898 commit 17cd669
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assets/js/base/components/text-input/validated-text-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ const ValidatedTextInput = ( {
}
}, [ isPristine, setIsPristine, validateOnMount, validateInput ] );

/**
* @todo Remove extra validation call after refactoring the validation system.
*/
useEffect( () => {
if ( isBeforeProcessing ) {
validateInput();
Expand Down

0 comments on commit 17cd669

Please sign in to comment.