When I use select in replicator, whith uses prompt (via setPrompt() function), the form cannot be submitted if the select has prompt value selected (the field is not required, so this should be okey)
Form submit ends with "Value '' is out of range of current items." - debugger - http://d.pr/f/wT5x
Nette@dev, replicator@dev
When I use select in replicator, whith uses prompt (via setPrompt() function), the form cannot be submitted if the select has prompt value selected (the field is not required, so this should be okey)
Form submit ends with "Value '' is out of range of current items." - debugger - http://d.pr/f/wT5x
The problem was probably caused by this commit to nette - https://github.com/nette/nette/commit/1c59a8501e3cb629742c6fd355cd6f8584397a14
I noticed that select with prompt created directly on Form instance passes to setValue NULL, but select in Replicator passes empty string...
I was able to reproduce this error even on clean sandbox only with Kdyby/Replicator