Skip to content
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

Remove no longer needed JS API data clear #1963

Merged
merged 1 commit into from
Jan 8, 2023
Merged

Conversation

mvorisek
Copy link
Member

@mvorisek mvorisek commented Jan 7, 2023

introduced in #909

probably related/fixed with fomantic/Fomantic-UI#2581

I have verified the #902 is NOT reintroduced, test code:

$form = \Atk4\Ui\Form::addTo($app);
$form->addControl('purge_missing', [\Atk4\Ui\Form\Control\Checkbox::class]);
$form->buttonSave->set('Import');

$form->onSubmit(function(\Atk4\Ui\Form $form) {
    throw new \Exception((string) $form->model->get('purge_missing'));
});

(and tested by probably some Behat test already)

@mvorisek mvorisek marked this pull request as draft January 7, 2023 23:27
@mvorisek mvorisek marked this pull request as ready for review January 8, 2023 00:41
@mvorisek mvorisek merged commit 038862c into develop Jan 8, 2023
@mvorisek mvorisek deleted the no_data_clear branch January 8, 2023 00:42
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.

None yet

1 participant