Check if request input is not null before set the value Check if request input is not null before set the value laravel laravel