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

    jamel

    07/24/2021, 10:52 AM
    Yeah that’s what i thought, i was trying to have a file field so the user can change the favicon, i had issues with medias input that couldn’t handle svg
  • j

    jamel

    07/24/2021, 10:53 AM
    Thank you for your answer !
  • i

    ifox

    07/24/2021, 10:53 AM
    with glide?
  • i

    ifox

    07/24/2021, 10:53 AM
    a recent merge should solve that for you if so
  • j

    jamel

    07/24/2021, 10:54 AM
    Yes with glide, but i get an error from glide
  • i

    ifox

    07/24/2021, 10:54 AM
    https://github.com/area17/twill/pull/985
  • i

    ifox

    07/24/2021, 10:55 AM
    you need to use 2.x-dev though, as this hasn't been released
  • v

    valhalla14

    07/27/2021, 12:45 AM
    Hi guys, Anyone knows how to add tags in a repeater? I was able to add the form field but it's not saving for me
  • p

    pboivin

    07/27/2021, 12:56 PM
    Hey @User, not sure if
    @formField('tags')
    is supported in repeaters. Are you getting any errors in the browser console or from the PHP side?
  • i

    ifox

    07/27/2021, 12:56 PM
    @User it's not
  • i

    ifox

    07/27/2021, 12:56 PM
    you'd need to use a select field manually
  • i

    ifox

    07/27/2021, 12:57 PM
    tags are meant to be attached to models
  • i

    ifox

    07/27/2021, 12:57 PM
    I can't see any reason we couldn't attach them to blocks, but that's currently not implemented
  • p

    pboivin

    07/27/2021, 12:58 PM
    Good to know, thanks 🙂
  • v

    void

    07/27/2021, 7:45 PM
    yo, I'm making a custom cms page is there any JS cache involved?
  • v

    void

    07/27/2021, 7:45 PM
    I keep getting console.log msgs I've removed no matter what I do
  • v

    void

    07/27/2021, 7:45 PM
    🤯
  • p

    pboivin

    07/27/2021, 7:46 PM
    @void are your
    console.log()
    directly in the page or in an external JS file/bundle?
  • v

    void

    07/27/2021, 7:47 PM
    directly on the page
  • p

    pboivin

    07/27/2021, 7:47 PM
    have you tried
    php artisan view:clear
    ?
  • v

    void

    07/27/2021, 7:47 PM
    just did same result
  • v

    void

    07/27/2021, 7:48 PM
    tried going incognito or hard reload + empty cache on browser
  • v

    void

    07/27/2021, 7:48 PM
    custom cms page inside twill admin
  • p

    pboivin

    07/27/2021, 7:49 PM
    Interesting. Curious to know where your JS lives on the page. Are you pushing to the
    extra_js
    stack?
  • v

    void

    07/27/2021, 7:50 PM
    not yet i've been just dumping it inside script tags for dev under the rest of the html of that custom view
  • p

    pboivin

    07/27/2021, 7:51 PM
    Ok cool. Can you try:
  • p

    pboivin

    07/27/2021, 7:51 PM
    oups
  • v

    void

    07/27/2021, 7:52 PM
    Copy code
    js
       $(document).ready(function() {    
            $( '#booking-modal' ).on("hidden.bs.modal", function() {
                    console.log('hide');
                }).on('hidden', function(){
                    console.log('hidden');
                }).on('show', function() {
                    console.log('show');
                }).on('shown', function(){
                    console.log('shown' )
                });
  • p

    pboivin

    07/27/2021, 7:52 PM
    @push('extra_js') console.log("HELLO") @endpush
  • v

    void

    07/27/2021, 7:52 PM
    this thing keeps screaming hide at me
1...686970...484Latest