Multi select (combo) and 'add_edit' class: no 'edit' shown?

edited January 2012 in Bug Reports
Hey there!
I have a strange thing situation where having added the 'add_edit' class to a multi-select field (typical 'categories' example) i can only see the 'Add' button below the field, and not the 'edit'. So i can only inline add categories but i cant delete or edit already added ones. What am i doing wrong? Thanks!

Comments

  • edited 6:03AM
    It's actually setup that way because it's a multi select and if there were multiple items selected it would need to know which one to edit. I have thought about changing it to show an alert to just select a single item if you want to edit.
  • edited 6:03AM
    Hello,
    I need to remove that 'Add' button below the multi-select, How can i achive this.
  • edited 6:03AM
    If you are using the 1.0 beta try the following in your model's form_fields method where "my_field" is the field's name:
    $fields['my_field']['module'] = '';

    In 0.93:
    $fields['my_field']['class'] = '';
Sign In or Register to comment.