How to use UUIDs or strings with dots as form field keys
- Scarf
- Member | 2
I am currently playing around with the forms component in a standalone scenario. Suppose I have a list of items identified by UUIDs. How can these IDs be registered as form keys?
Example
Resulting Error
After looking at the trace and the source code, I'm afraid that this behavior works as intended and there is no support for UUIDs or alpha-numeric strings that also allow dot and minus characters. Am I right in this concern?
- Marek Bartoš
- Nette Blogger | 1296
Convert UID to different format, e.g. base58. Symfony UID has methods for that https://symfony.com/…nts/uid.html#…