Skip to content
Snippets Groups Projects
Commit 9aabfa45 authored by valeriya.lukinykh's avatar valeriya.lukinykh
Browse files

EF-894 Fixed category validation

parent f05b4c82
No related merge requests found
......@@ -65,6 +65,7 @@ public static function afterSheet(AfterSheet $event): void
$validation->setType(DataValidation::TYPE_LIST);
$validation->setAllowBlank(false);
$validation->setShowDropDown(true);
$validation->setShowErrorMessage(true);
$validation->setFormula1((string)$thisSheet->categoryId);
$validation->setSqref("{$columnIndex}2:{$columnIndex}" . self::MAX_ROWS);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment