Giter Club home page Giter Club logo

filament-addons's Introduction

This is a work in progress. ugh!

filament-addons's People

Contributors

abbasmashaddy72 avatar awcodes avatar wilfredchen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

filament-addons's Issues

OEmbed Component Error

Bug Fix: OEmbed Component Throws Error

Issue:
When attempting to use the OEmbed component to enter a YouTube URL, the following error is thrown:

FilamentAddons\Forms\Components\OEmbed::FilamentAddons\Forms\Components\{closure}(): Argument #1 ($set) must be of type Closure, Filament\Forms\Set given, called in /home/abbasmashaddy72/Documents/Sites/Dynamic/cms/vendor/filament/support/src/Concerns/EvaluatesClosures.php on line 35

Resolution:
To resolve this issue, I made the following changes to the code:

Old Code (Line No: 30):

->afterStateUpdated(function(Closure $set, Closure $get, $state) use ($field) {

Updated Code:

->afterStateUpdated(function (Set $set, Get $get, $state) use ($field) {

After making this change, the issue was resolved, and the OEmbed component worked as expected.

Thanks to the FilamentAddons package for its valuable contributions in enhancing Filament's admin panel functionality! ๐Ÿ‘๐ŸŽ‰

I am adding a Pull Request for the Same, I would appreciate it if accepted.

wrap() does not have an affect on TitleWithStatus

This wraps:

TextColumn::make('title')
    ->wrap()
    ->searchable()
    ->sortable(),

This does not:

TitleWithStatus::make('title')
    ->statusField('status')
    ->statuses(['Draft', 'Published'])
    ->colors(['text-warning-600' => 0, 'text-success-600' => 1])
    ->wrap()
    ->sortable()
    ->searchable(),

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.