Hi
I am using AIO v2.0.2 an have various extensions activated, including Text Limiter. This works on the first field that has the parameter, but all subsequent instances don't work. Example below, only the _short_description field is limited.
function cta_product_fields( $meta_boxes ) {
$prefix = '_';
$meta_boxes[] = [
'id' => 'cta_product_fields',
'title' => esc_html__( 'Product Call-to-Action Fields', 'my-plugin' ),
'post_types' => [ 'sw_product' ],
'context' => 'normal',
'priority' => 'high',
'autosave' => true,
'fields' => [
[
'id' => $prefix . 'short_description',
'name' => esc_html__( 'Short Description', 'my-plugin' ),
'type' => 'textarea',
'limit' => 128,
],
[
'id' => $prefix . 'product_availability',
'name' => esc_html__( 'Availablity', 'my-plugin' ),
'type' => 'text',
'limit' => 24,
],
],
];
return $meta_boxes;
}
add_filter( 'rwmb_meta_boxes', 'cta_product_fields' );
I have disabled all other plugins, checked the logs and console but can't track the issue. Any help or suggestions you can give would be great.
Thanks
Marcus