defstudio/filament-column-length-limiter

Limit Filament columns length showing a tooltip when text exceeds

v1.0.0 2025-01-14 17:31 UTC

This package is auto-updated.

Last update: 2025-01-27 12:35:34 UTC


README

Latest Version on Packagist Total Downloads

Limit Filament columns length showing a tooltip when text exceeds

Limited text Tooltip on hover

Installation

You can install the package via composer:

composer require defstudio/filament-column-length-limiter

Usage

After installation, just call ->limitWithTooltip(xx) in one of your table columns to automatically limit it's length and showing a nice tooltip on hover with full content

TextColumn::make('description')
    ->label('Post Description')
    ->limitWithTooltip(40)

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.