Complex Field’s ->set_min( $num ) working
-
Hi! How is ->set_min() on a complex field intended to work? Coming from ACF I thought it should “pre-build” as many rows as declared but it doesn’t seem to work as I’m setting it up. An example would be:
Container::make('post_meta', 'Configuration') ->show_on_post_type('whatever_post_type') ->add_fields(array( Field::make('complex', 'whatever') ->setup_labels(array( 'singular_name' => 'whatever rule', 'plural_name' => 'whatever rules' )) ->add_fields(array( Field::make('select', 'abc', 'ABC' ) ->add_options(array( 'a' => 'A', 'b' => 'B', 'c' => 'C', )), )) ->set_min(1) ));Thanks for your support! Great developer framework!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Complex Field’s ->set_min( $num ) working’ is closed to new replies.