Leaving empty the Parent field in the Assign Parent For This Asset form leads to unexpected error #683
This commit is contained in:
parent
9587872ea9
commit
64ab815114
|
@ -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
|
||||
|
|
|
@ -181,6 +181,7 @@ class AssetParentActionForm extends ConfirmFormBase {
|
|||
'#tags' => TRUE,
|
||||
'#validate_reference' => FALSE,
|
||||
'#maxlength' => 1024,
|
||||
'#required' => TRUE,
|
||||
];
|
||||
|
||||
$form['operation'] = [
|
||||
|
|
Loading…
Reference in New Issue