GithubHelp home page GithubHelp logo

Comments (2)

danharrin avatar danharrin commented on June 15, 2024

Due to the way actions can be nested, there are only certain combinations that work:

  • Page actions can be nested in the footer of other page actions
  • Table actions can be nested in the footer of other table actions
  • Form component actions can be nested in the FORM of ANY action, including form component actions, but they cannot be nested inside the footer of form component actions right now

This is the closest you will get, otherwise you will need to move the nested action into the form schema of the first: https://filamentphp.com/docs/3.x/actions/modals#adding-an-extra-modal-action-button-to-the-footer

from filament.

binaryfire avatar binaryfire commented on June 15, 2024

@danharrin Thanks for clarifying.

Nesting form component actions in the footer of other form component actions is what I originally tried to do, but I hit a Filament\Forms\Components\Actions\Action::$component must not be accessed before initialization exception.

You said it can't be done "right now" so I'm hoping that means it'll get added at some point😁 Would be very useful.

from filament.

Related Issues (20)

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.