Using the visual builder, I can't check against 0 values of a select option like this
[
'name' => __( 'Anzeigen', 'your-text-domain' ),
'id' => $prefix . 'aside_selection',
'type' => 'select',
'options' => [
0 => __( 'Nichts', 'your-text-domain' ),
'img' => __( 'Bild', 'your-text-domain' ),
'info' => __( 'Infobox', 'your-text-domain' ),
'test' => __( 'Testimonial', 'your-text-domain' ),
],
'tab' => '_akdev_aside',
]
because the visual builder won't generate code as such below:
[
'type' => 'divider',
'hidden' => [
'when' => [['aside_selection', '=', 0]],
'relation' => 'or',
],
'tab' => '_akdev_aside',
]
shouldn't this be possible?