Skip to content

Commit

Permalink
Quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
StaffCollab committed May 2, 2024
1 parent 958ecbb commit d371ac2
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/views/hebrew-date-picker.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div>
Hello from hebrew-date-picker.blade.php
</div>
31 changes: 31 additions & 0 deletions src/HebrewDatePicker.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

namespace StaffCollab\HebrewDate;

use Filament\Forms\Components\Field;

class HebrewDatePicker extends Field
{
public $name = 'hebrew-date-picker';

public $format = 'YYYY-MM-DD';

public $type = 'text';

public $view = 'staffcollab::hebrew-date-picker';

public function format($format)
{
$this->format = $format;

return $this;
}

public function type($type)
{
$this->type = $type;

return $this;
}

}

0 comments on commit d371ac2

Please sign in to comment.