Skip to content

Commit

Permalink
Added Length Constrained
Browse files Browse the repository at this point in the history
  • Loading branch information
rtraselbd authored Oct 30, 2024
1 parent 0c6d7bf commit 1c2a6b1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/CodeField.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,17 @@
use Creagia\FilamentCodeField\Concerns\LineNumbers;
use Creagia\FilamentCodeField\Concerns\ProgrammingLanguages;
use Filament\Forms\Components\Field;
use Filament\Forms\Components\Concerns;
use Filament\Forms\Components\Contracts;

class CodeField extends Field
class CodeField extends Field implements Contracts\CanBeLengthConstrained
{
use Autocompletion;
use ControlsHeight;
use HasDisplayMode;
use LineNumbers;
use ProgrammingLanguages;
use Concerns\CanBeLengthConstrained;

const PHP = 'php';

Expand Down

0 comments on commit 1c2a6b1

Please sign in to comment.