icetalker/filament-table-repeatable-entry 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

icetalker/filament-table-repeatable-entry

最新稳定版本:v2.0.0

Composer 安装命令:

composer require icetalker/filament-table-repeatable-entry

包简介

Display Filament RepeatableEntry as table

README 文档

README

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

This is a Filament Infolists Component, use for display RepetableEntry as a table. In case you are using TableRepeater instead of RelationManager.

Installation

You can install the package via composer:

composer require icetalker/filament-table-repeatable-entry

Usage

namespace Icetalker\FilamentTableRepeater\Infolists\Components;

TableRepeatableEntry::make('items')
    ->schema([
        Infolists\Components\TextEntry::make('product'),
        Infolists\Components\TextEntry::make('quantity'),
        Infolists\Components\TextEntry::make('price'),
    ])
    ->columnSpan(2),

Striped Row

To enable striped table rows, you can use the striped() method:

namespace Icetalker\FilamentTableRepeater\Forms\Components;

TableRepeatableEntry::make('items')
    ->schema([
        Infolists\Components\TextEntry::make('product'),
        Infolists\Components\TextEntry::make('quantity'),
        Infolists\Components\TextEntry::make('price'),
    ])
    ->striped()
    ->columnSpan(2),

Show Index

To show table row index, please use showIncdex():

namespace Icetalker\FilamentTableRepeater\Forms\Components;

TableRepeatableEntry::make('items')
    ->schema([
        Infolists\Components\TextEntry::make('product'),
        Infolists\Components\TextEntry::make('quantity'),
        Infolists\Components\TextEntry::make('price'),
    ])
    ->striped()
    ->columnSpan(2),

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 51.57k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 13
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 13
  • Watchers: 1
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-10-20