carbon-fields
carbon-fields copied to clipboard
set_min method on complex fields is not working
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)