Skip to content

Commit

Permalink
Merge pull request #3 from TappNetwork/upgrade_to_filament3
Browse files Browse the repository at this point in the history
Filament 3 upgrade
  • Loading branch information
andreia authored Aug 4, 2023
2 parents bf2e67b + 6d6b57b commit 78973aa
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ A timezone select field for Laravel Filament.
## Installation

```bash
composer require tapp/filament-timezone-field
composer require tapp/filament-timezone-field:"^3.0"
```

> **Note**
> For **Filament 2.x** check the **[2.x](https://github.com/TappNetwork/filament-timezone-field/tree/2.x)** branch
## Usage

### Form Field
Expand Down
16 changes: 14 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,26 @@
"timezone"
],
"license": "MIT",
"authors": [
{
"name": "Tapp Network",
"email": "[email protected]",
"role": "Developer"
},
{
"name": "Tapp Network",
"email": "[email protected]",
"role": "Developer"
}
],
"homepage": "https://github.com/TappNetwork/filament-timezone-field",
"support": {
"issues": "https://github.com/TappNetwork/filament-timezone-field/issues",
"source": "https://github.com/TappNetwork/filament-timezone-field"
},
"require": {
"php": "^8.0",
"filament/filament": "^2.9"
"php": "^8.1",
"filament/filament": "^3.0-stable"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 0 additions & 2 deletions src/Forms/Components/TimezoneSelect.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,4 @@ class TimezoneSelect extends Select
use CanFormatTimezone;
use HasTimezoneOptions;
use HasTimezoneType;

protected string $view = 'forms::components.select';
}

0 comments on commit 78973aa

Please sign in to comment.