Hi,

First of all, I am very new to Symfony. I started working on a kind of
"inventory" project. To make things simple - I have a "CultureBottle"
entity. The CultureBottle contains fruit flies (that proliferate) and
have to be periodically moved (pushed) to another container. The
database is supposed to track such pushes.

class CultureBottle {
    protected $id;
    protected $parent;
    ...
}

So I obviously have a parent property in my class. Now comes the
tricky part - in the form I would like to be able to set the parent
bottle for a new bottle (or change parent of existing one in case
wrong one has been selected) but - since the database will contain
thousands of bottles - I do not want to have the whole list rendered.
Second - since the id of the bottle is actually a barcode, I would
like to use barcode scanner to set the new value. And here comes my
need for a text input field that I would use to set the parent. The
EntityType in Forms allows only choice entry field... How do I make it
use plaintext input for id?

Best,

Radek

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to