https://twill.io logo
Join Discord
Powered by
# ❓questions
  • s

    sathish

    09/15/2022, 3:36 PM
    I updated the assets now it works fine
  • s

    sathish

    09/15/2022, 3:37 PM
    But some files are updated and created, doesn't make issue the above one?
  • h

    Harings Rob

    09/15/2022, 6:56 PM
    Regular routes can be like any package. I think it is just important to run parent::boot and to split the routes for package/capsules.
  • d

    dedli

    09/15/2022, 7:06 PM
    Hi guys ) I finished my first project on twill. It was very interesting and cool ) Twill is the best and your team is the best! Thanks a lot all your team, especially @Harings Rob and @ifox for help, spending time and patience!
  • i

    ifox

    09/15/2022, 8:31 PM
    You can delete your
    public/assets/admin
    folder and run
    php artisan twill:update
    to clean things up.
  • y

    Young_Koekwaus

    09/15/2022, 10:00 PM
    just got this error
  • y

    Young_Koekwaus

    09/15/2022, 10:00 PM
    anyone know what to do with this
  • y

    Young_Koekwaus

    09/15/2022, 10:01 PM
    no clue what i did wroing it was just there out of the nowhere
  • i

    ifox

    09/15/2022, 10:01 PM
    first, hello, and we're going to need more information than this as this could be literally anything
  • y

    Young_Koekwaus

    09/15/2022, 10:02 PM
    excuse me
  • i

    ifox

    09/15/2022, 10:07 PM
    can you share more then? what's the context of this error? which page are you on? which function/class triggers it?
  • y

    Young_Koekwaus

    09/15/2022, 10:10 PM
    I fixed it already i was very stupid
  • s

    savchuk.ivan

    09/16/2022, 3:35 AM
    Good afternoon! Created a module for studying twill. When I want to save data, I get an error Add fillable property [slug, cmsSaveType, public, publish_start_date, publish_end_date, parent_id]. And I get the same error when saving the language in the settings. What could be wrong?
  • h

    Harings Rob

    09/16/2022, 6:04 AM
    👋 @savchuk.ivan can you share the error?
  • s

    savchuk.ivan

    09/16/2022, 6:09 AM
    👋 @Harings Rob
  • h

    Harings Rob

    09/16/2022, 6:27 AM
    That's odd. Is it a new setup or an existing site?
  • s

    savchuk.ivan

    09/16/2022, 6:29 AM
    This is a new installation (I apologize in advance for my English speech)
  • t

    thingasd

    09/16/2022, 7:35 AM
    Hi guys, does multi select support default / preselected values? https://twill.io/docs/form-fields/multi-select.html
  • k

    kalle

    09/16/2022, 7:38 AM
    I dont think so. To make it accept default values, you'll need to trick component that it receives DB value from Controller. Like they are already 'selected'.
  • t

    thingasd

    09/16/2022, 7:54 AM
    I have multi select inside a block, is there any example of tricking the component🥲
  • h

    Harings Rob

    09/16/2022, 7:56 AM
    @thingasd I think you can use a block class: https://twill.io/docs/block-editor/adding-data-to-block-forms.html
  • h

    Harings Rob

    09/16/2022, 8:09 AM
    Strange that it shows this for users. Are you trying to make a page for users to show or is this on the default user page via the top right menu?
  • i

    ifox

    09/16/2022, 8:14 AM
    seems like it's both on a module he created and on the user profile page (his screenshot)
  • s

    savchuk.ivan

    09/16/2022, 8:23 AM
    @Harings Rob I have a clean project, but I did a check in the provider Model::preventSilentlyDiscardingAttributes( ! app()->isProduction() ); This was the problem.
  • t

    thingasd

    09/16/2022, 8:26 AM
    I passed the options to the block form using the block class, but the problem is the multi select do not have a option of default value
  • i

    ifox

    09/16/2022, 8:48 AM
    Interesting. I knew the Laravel elite's hate for $fillable was going to bite us one day 🙊
  • a

    alitak

    09/16/2022, 8:52 AM
    i think so 😄
  • a

    alitak

    09/16/2022, 8:53 AM
    btw meanwhile i have greate progress on twill:dev mode. I resolved the missing manifest file, so the dev mode seems to be working, next step is the missing vue component
  • a

    alitak

    09/16/2022, 8:54 AM
    my old friend for not registering components
  • a

    alitak

    09/16/2022, 8:54 AM
    after runnig the twill:dev command the component was copied to the proper frontend dir under the vendor
1...395396397...484Latest