Leaving empty the Parent field in the Assign Parent For This Asset form leads to unexpected error #683

This commit is contained in:
Michael Stenta 2023-06-09 08:21:54 -04:00
parent 9587872ea9
commit 64ab815114
2 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Fixed
- [Leaving empty the Parent field in the Assign Parent For This Asset form leads to unexpected error #683](https://github.com/farmOS/farmOS/issues/683)
## [2.1.1] 2023-05-23
### Fixed

View File

@ -181,6 +181,7 @@ class AssetParentActionForm extends ConfirmFormBase {
'#tags' => TRUE,
'#validate_reference' => FALSE,
'#maxlength' => 1024,
'#required' => TRUE,
];
$form['operation'] = [