carbon-fields icon indicating copy to clipboard operation
carbon-fields copied to clipboard

set_min method on complex fields is not working

Open jorgedodoplugin opened this issue 3 years ago • 0 comments

Hey, The set_min( number ). method for the complex field doesn't really work, Set max does, at the begging I thought maybe they have conflict working with each other but them tried them independently and well, it just doesn't.

Here my code examples

Didn't Work: Field::make( 'complex', 'business_opening_hours', __('Business Open Hours') )->set_max(7)->set_min(7),

Didn't Work: Field::make( 'complex', 'business_opening_hours', __('Business Open Hours') )->set_min(7)

Worked: Field::make( 'complex', 'business_opening_hours', __('Business Open Hours') )->set_max(7)

jorgedodoplugin avatar Aug 26 '22 03:08 jorgedodoplugin