Giter Club home page Giter Club logo

Comments (11)

saade avatar saade commented on June 25, 2024 1

would be cool to use infolists components on forms too 😅

from filament.

saade avatar saade commented on June 25, 2024 1

would be cool to use infolists components on forms too 😅

That's exactly what this issue is about :)

@zepfietje Oh, i thought it was the opposite. Then it would be cool to use Forms components on Infolists 😅, for quick editing like a title or smth. I'm currently using a Infolists\Components\Livewire::make(MyCustomForm::class)

from filament.

hussain4real avatar hussain4real commented on June 25, 2024

This will solve some hacks in my code base

from filament.

zepfietje avatar zepfietje commented on June 25, 2024

would be cool to use infolists components on forms too 😅

That's exactly what this issue is about :)

from filament.

zepfietje avatar zepfietje commented on June 25, 2024

That would really still be a number of infolist entries in a form with a single field then, right?

from filament.

saade avatar saade commented on June 25, 2024

That would really still be a number of infolist entries in a form with a single field then, right?

yes if you're not using an infolist on the view page, only a disabled form.

if you wish to use both, a form for creation/editing process and a infolist to display data while allowing some field to be quickly edited on the view page, we need to support form components inside infolists.

from filament.

MACscr avatar MACscr commented on June 25, 2024

That would really still be a number of infolist entries in a form with a single field then, right?

yes if you're not using an infolist on the view page, only a disabled form.

if you wish to use both, a form for creation/editing process and a infolist to display data while allowing some field to be quickly edited on the view page, we need to support form components inside infolists.

Actually a cool way to do that would be simply have a infolist view option for a every form field. This way you could display a form in a read only mode that would simply look like an infolist. No need to manage two versions of it.

from filament.

saade avatar saade commented on June 25, 2024

Actually a cool way to do that would be simply have a infolist view option for a every form field. This way you could display a form in a read only mode that would simply look like an infolist. No need to manage two versions of it.

That way we can't have separated layouts for the form/ infolist. Take a blog post for example, the form layout for creating a blog post is very different than the infolist for viewing a post.

from filament.

dangnhdev avatar dangnhdev commented on June 25, 2024

Hello I'm searching for this. Does this got committed somewhere or just closed as not planned? 😅

from filament.

danharrin avatar danharrin commented on June 25, 2024

Closed as completed in v4

from filament.

danharrin avatar danharrin commented on June 25, 2024

still possible if you use a nested LW component in v3

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.