Added support for filling a submitted form when the callback returns true.
This commit is contained in:
parent
3c1da15e99
commit
4e918d21f1
1 changed files with 2 additions and 0 deletions
|
|
@ -216,6 +216,8 @@ return new class extends Module
|
|||
&& !$options[self::OPTIONS_CALLBACK_ON_SUBMIT]($submitted_data)
|
||||
) {
|
||||
return false;
|
||||
} else {
|
||||
$options[self::OPTIONS_DATA] = $submitted_data;
|
||||
}
|
||||
|
||||
// setup form attributes if required
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue