Support

Account

Home Forums Add-ons Repeater Field Repeater field in gutenberg? Reply To: Repeater field in gutenberg?

  • const handleRemoveLocation = ( index ) => {
    const locations = [ …props.attributes.locations ];
    locations.splice( index, 1 );
    props.setAttributes( { locations } );
    };