I've been using this module for a few weeks, besides the UI is not perfect is quite useful.
There is a particular issue I see with this module. If you want to create an entity with just a few properties, and you want let users modify those properties, the only way to automatically display the widget in the entity creation form is using a 'title' behavior.
This is ok if you have only an editable property, but if you have more than one, the title behavior is not a good option anymore. You shouldn't have two or more titles for an entity after all...
I have seen some issues when you have an already configured entity and then you need to include another property. If you set this property as a title, well, it will behave as a title, and then you can see entity instances named with the last property added. And also, of course, all the properties widgets are marked as required.
So, I think ECK should include another behavior just for basic input properties. Just a textfield (marked as non-required) that can be customized with a hook_form_alter if necessary.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1969548.patch | 2.07 KB | dagmar |
|
Comments
Comment #1
dagmarHere is the patch.
Comment #2
fmizzell CreditAttribution: fmizzell commentedComment #4
jsibley CreditAttribution: jsibley commentedThis issue was closed referencing a patch for 7.x-3.x-dev, but there doesn't seem to be a 3.x version available as recommended or dev.
Was this incorporated somewhere that is currently available or has the solution disappeared? I agree that having multiple fields treated as titles can be confusing.
Thank you.
Comment #5
jsibley CreditAttribution: jsibley commented{removed duplicate comment, sorry)
Comment #6
legolasboComment #7
Collins405 CreditAttribution: Collins405 commentedCan we get this committed? I use this patch every time I use the module.