Edit Only shows column data that were marked as get.
Edit Only shows column data that were marked as get.
After creating a record successfully, (verifying the data is in the db), if I select a record, only the columns that I tagged as get in generator are showing.
My intent is a small list of columns showing on the table, the detail record for edit and insert has more fields.
My intent is a small list of columns showing on the table, the detail record for edit and insert has more fields.
This discussion has been closed.
Replies
[code]Field::inst( 'city' )
->get( false )
->validator( 'Validate::required' )
to Field::inst( 'city' )
->get( true )
->validator( 'Validate::required' ) [/code]
it fixes the display issue. Perhaps I'm misunderstanding the tutorial on the generator's intent of that feature.
Related to that, I should say that Generator is a quick start tool only - it won't let you get the most out of Editor. For that you need to work with the API to some extent, as you are seeing.
I'll make this change to Generator soon.
Thanks for the feedback.
Regards,
Allan