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

set SubmitterControl default to false #322

Merged
merged 1 commit into from Apr 1, 2024
Merged

set SubmitterControl default to false #322

merged 1 commit into from Apr 1, 2024

Conversation

dakorpar
Copy link
Contributor

In some cases we can use forms without even a submit button do validate some data, also sometimes in tests we do not add submit button because its maybe added elsewhere (onRender for example)...
Now whenever this happens we get

Typed property Nette\Forms\Form::$submittedBy must not be accessed before initialization, this should solve it.

@dakorpar
Copy link
Contributor Author

@dg wdyt?

@dg dg force-pushed the master branch 2 times, most recently from 5ed4df5 to ec3c659 Compare April 1, 2024 00:54
@dg
Copy link
Member

dg commented Apr 1, 2024

thaks

@dg dg merged commit 2573ec2 into nette:master Apr 1, 2024
11 checks passed
dg pushed a commit that referenced this pull request Apr 1, 2024
@dakorpar dakorpar deleted the patch-1 branch April 1, 2024 10:30
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

2 participants