Skip to content

Is is possible to make custom field optional? #7137

Discussion options

You must be logged in to vote

@barellano typically "optional" would mean the absence of required() or you could explicitly set required to false:
$field->required(false)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@barellano
Comment options

@jonwaldstein
Comment options

Answer selected by barellano
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants