You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
473 B
18 lines
473 B
<?php
|
|
|
|
namespace App\Livewire\Forms\Channel;
|
|
|
|
use Livewire\Attributes\Validate;
|
|
use Livewire\Form;
|
|
|
|
class ClientForm extends Form
|
|
{
|
|
#[Validate('required|string|max:255', as: 'domains/channel/field.client.name')]
|
|
public string $name = '';
|
|
|
|
#[Validate('required|string|max:255', as: 'domains/channel/field.client.code')]
|
|
public string $code = '';
|
|
|
|
#[Validate('required|url|max:255', as: 'domains/channel/field.client.url')]
|
|
public string $url = '';
|
|
}
|
|
|