saasykit/filament-country-field

带有ISO 3166选项值的国家下拉菜单

1.0.0 2024-06-08 09:33 UTC

This package is auto-updated.

Last update: 2024-09-08 15:09:10 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads Filament Version

以最简单的方式列出每个国家作为可选择的下拉菜单 🤘

特性

  • 显示包含所有ISO 639-1语言的字段特性。

屏幕截图

filament-country-field

入门指南

我们已经为您简化了入门过程。以下是您需要遵循的三个步骤

  1. 安装包
composer require parfaitementweb/filament-country-field
  1. 在您的Filament资源中添加国家表单字段。
use Parfaitementweb\FilamentCountryField\Forms\Components\Country;

Country::make('country')
  1. 在您的Filament资源中添加国家列字段。
use Parfaitementweb\FilamentCountryField\Tables\CountryColumn;

CountryColumn::make('country')
  1. 享受。

配置

除了所有