I don’t know if this has ever worked for me. I guess either it’s not well supported or I’ve just been doing it wrong since CakePHP 1.x
Figured I’d ask:
If I want to use the form helper to generate form elements on a create (“add”) action for associated models (not just immediately associated, but I’m talking separated by at least two or three degrees)… should I expect the helper will render the elements correctly based on field type in the database?
Because I only seem to be able to get them to render as text fields. I end up having to explicitly declare the input types I want to use for any given field.
Perhaps yet another symptom of something I’m doing wrong: I always end up having to manually assemble the associations in the controller after submittal and saving each individual model. It seems as if only immediately associated models get handled automagically.