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

    ozgurkaragoz

    05/26/2021, 8:11 PM
    I created: https://github.com/area17/twill/issues/943 @User
  • s

    Shiftless

    05/28/2021, 11:26 AM
    did u run this?
    php artisan vendor:publish --tag=blade-icons
  • s

    Shiftless

    05/28/2021, 11:27 AM
    ah i did not read that it happend during the install. My bad sorry.
  • o

    ozgurkaragoz

    05/28/2021, 11:27 AM
    hi, i can not run this command because when i run "composer require blade-ui-kit/blade-icons" command its fail. So, "blade-ui-kit/blade-icons" package can not install
  • o

    ozgurkaragoz

    05/28/2021, 11:28 AM
    yes 🙂 no problem, tank you for supporting
  • r

    Rayderxx

    05/28/2021, 2:05 PM
    is it possible to override the default create.blade.php for a specific module ?
  • i

    ifox

    05/28/2021, 2:08 PM
    yes create a
    create.blade.php
    file next to the form file
  • r

    Rayderxx

    05/28/2021, 2:10 PM
    need to clear the cache ? 😄
  • r

    Rayderxx

    05/28/2021, 2:10 PM
    weird doesn't work for me 😦
  • i

    ifox

    05/28/2021, 2:11 PM
    it's a regression in 2.2.1, it's fixed on 2.x and will be released later today
  • i

    ifox

    05/28/2021, 2:11 PM
    if you use 2.x-dev it should work
  • r

    Rayderxx

    05/28/2021, 2:11 PM
    ok thx
  • i

    ifox

    05/28/2021, 2:12 PM
    you can also use
    skipCreateModal
    in the controller indexOptions
  • i

    ifox

    05/28/2021, 2:12 PM
    that way the create button goes to the form and allows you to fill all fields before saving
  • r

    Rayderxx

    05/28/2021, 2:13 PM
    ok
  • r

    Rayderxx

    05/28/2021, 2:26 PM
    last question : is it possible to use wire:click (or any event) on a formfield ? 😄
  • i

    ifox

    05/28/2021, 2:52 PM
    you would have to use the field markup directly to add attributes
  • k

    Kirk Bushell

    05/30/2021, 11:48 PM
    How would I go about creating a date filter?
  • k

    Kirk Bushell

    05/31/2021, 12:02 AM
    Can't seem to get a presenter field to show up: > 'narrated' => [ > 'title' => 'Narrated', > 'field' => 'narrated', > 'visible' => false, > ],
  • k

    Kirk Bushell

    05/31/2021, 12:02 AM
    Then on presenter:
  • k

    Kirk Bushell

    05/31/2021, 12:02 AM
    > public function narrated() > { > return empty($this->model->narrated_by) ? 'No' : 'Yes'; > }
  • k

    Kirk Bushell

    05/31/2021, 12:02 AM
    It's never called
  • k

    Kirk Bushell

    05/31/2021, 12:05 AM
    Got it, needed to sent present => true
  • i

    ifox

    05/31/2021, 11:02 AM
    Hi Kirk! You'd need to add it to
    $filters
    in the controller, and use the
    filter
    hook in the repository to append to the query manually from what's in
    scopes
    . For the data of the filter dropdown itself, you'd return it in
    indexData
    using the same key as your filter, suffixed by
    List
    . So if your filter key is
    date
    , you'd return
    dateList
    in
    indexData
    . This needs to be heavily improved and better documented, that's for sure...
  • k

    Kirk Bushell

    05/31/2021, 11:10 AM
    @User that part is all clear - how would I create a date component to select a date range?
  • i

    ifox

    05/31/2021, 11:15 AM
    ha, I see. right now the only way would be to override the
    listing
    Blade layout to render something else than a select component for that specific filter.
  • k

    Kirk Bushell

    06/01/2021, 9:58 AM
    Right ok
  • d

    domihagen

    06/01/2021, 3:39 PM
    Could u guys pls make a new Release (2.2.2) with the fix for the custom create-form, that was merged a week ago? Or are you waiting for some more fixes to be merged?
  • i

    ifox

    06/01/2021, 3:56 PM
    @User yes, tagging today
  • i

    ifox

    06/01/2021, 3:57 PM
    and looking into setting up https://intuit.github.io/auto/ moving forward
1...171819...484Latest