$container->setPrompt('') makes a problem on add new copy. Problem is only with comboboxes. During adding the copy are setting the default values into the comboboxes. The default value is null, when no item is selected.
There is catched the following exception:
Nette\InvalidArgumentException
Value '' is out of allowed set [12, 14, 15, 16, 17, 20, 21, 22, 24, 25, 28, 29, 41, 44, 46, 47, 57,...] in field 'wms_wu_model_id'
$container->setPrompt('') makes a problem on add new copy. Problem is only with comboboxes. During adding the copy are setting the default values into the comboboxes. The default value is null, when no item is selected.
There is catched the following exception:
Nette\InvalidArgumentException Value '' is out of allowed set [12, 14, 15, 16, 17, 20, 21, 22, 24, 25, 28, 29, 41, 44, 46, 47, 57,...] in field 'wms_wu_model_id'