mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-11-04 06:46:57 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			423 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			423 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace App\Extensions\Captcha\Schemas\Turnstile;
 | 
						|
 | 
						|
use Filament\Forms\Components\Field;
 | 
						|
 | 
						|
class Component extends Field
 | 
						|
{
 | 
						|
    protected string $viewIdentifier = 'turnstile';
 | 
						|
 | 
						|
    protected string $view = 'filament.components.turnstile-captcha';
 | 
						|
 | 
						|
    protected function setUp(): void
 | 
						|
    {
 | 
						|
        parent::setUp();
 | 
						|
 | 
						|
        $this->hiddenLabel();
 | 
						|
 | 
						|
        $this->required();
 | 
						|
 | 
						|
        $this->rule(new Rule());
 | 
						|
    }
 | 
						|
}
 |