Bug: MetaBox Group

Support MB Group Bug: MetaBox Group

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1047
    FlikweertFlikweert
    Participant

    Hi Tran,

    I think I have found a mistake in the Metabox Group plugin. Last month you built in a function to limit the maximum number of clones When adding this goes well. After adding you can add an infinite number of clones. If they are then removed again, the button will disappear too.

    Here's my group configuration

    id' 		=> PREFIX .'home_usp',
    				'clone'  	=> true,
    				'max_clone'	=> 3,
    				'type'		=> 'group',
    				'fields' 	=> array(
    #1052
    Anh TranAnh Tran
    Keymaster

    Hi Flickweert,

    I'm not very clear about the bug. Do you mean that when adding max_clone, it still allows you to add infinite number of clones? And when you remove a clone, the "Add more" button disappear?

    #1056
    FlikweertFlikweert
    Participant

    Hi,

    Yes and no 😉 When you add max_clone and make a new item with the max item of clones, save the item and then edit the item, it allows me to add infinite number of clones (the button shows when the max number of clones is reached).

    If it's not clear i make a screen capture.

    #1057
    Anh TranAnh Tran
    Keymaster

    I think I understand now, but it's still better to have screenshots 😀

    #1165
    FlikweertFlikweert
    Participant

    Hi Anh,

    I sent you a video by WeTransfer

    'fields'	=> array(
    	array(
    		'id' => 'page_home_block',
    		'type' => 'group',
    		'clone' => true,
    		'max_clone' => 3,
    		'fields' => array(
    #1174
    Anh TranAnh Tran
    Keymaster

    Much appreciated. I'm looking.

    #1175
    Anh TranAnh Tran
    Keymaster

    I've just updated the code with a fix for this. Can you please try the latest version of Meta Box on Github?

    PS: The video is really helpful! Thanks a lot for this.

    #1176
    FlikweertFlikweert
    Participant

    Works perfectly! Thanks for the quick action.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Bug: MetaBox Group’ is closed to new replies.