Hi!
In my ORM model I have this part of the properties:
'id' => array(
'form' => array(
'type' => false,
),
),
'user_id' => array(
'form' => array(
'type' => false,
),
),
When I add the model and build the form the input field for these fields cannot be seen, but the label for the fields are there.
Is it a bug, or I have to hardcode the core to make them vanished?
Thanks
Yes, latest is always on Github in the develop branch. If you're using RC1 I would recommend updating both the ORM & the Core, though RC2 should be released shortly.
Just dropping a note on this. The docs, under ORM /creating Models, the section protected static $_properties has an error. It says to set the type like:
'form' => array('data_type' => 'text'),
it should be:
'form' => array('type' => 'text'),