$extensions public property
A list of file name extensions that are allowed to be uploaded. This can be either an array or a string consisting of file extension names separated by space or comma (e.g. "gif, jpg"). Extension names are case-insensitive. Defaults to null, meaning all file name extensions are allowed.
See also $wrongExtension for the customized message for wrong file type.
public array|string $extensions = null
Please login to continue.