lucas.sanner54070 Approved

Member since: 2020-03-04

Recent posts by lucas.sanner54070
Post When

Ok I got it.
I used

$('#mySelect').select2().trigger('change');   

instead of

$('#mySelect')....

Posted in Ajax handler called twice

I think I've identified the issue. On my page I use Select2

<link href="https://cdn.jsdelivr.net...

Posted in Ajax handler called twice

Here is my form:

{{ form_ajax('onFilterMembers', {flash: ''}) }}

    <select name="licence_type" cl...

Posted in Ajax handler called twice

Thanks for your reply, it saves me a couple of extra hours of investigation.
Is it safe to update to...

Posted in Exporting file on front-end. Infinite Ajax request ? [resolved]

I've reproduced the exact same code but I still have the same problem.
What can I do ?

Posted in Exporting file on front-end. Infinite Ajax request ? [resolved]

the form:

{{ form_ajax('onExport', {flash: ''}) }}
      <button type="submit" class="btn btn-inf...

Posted in Exporting file on front-end. Infinite Ajax request ? [resolved]

Ok I got it now. It's explained here: https://github.com/octobercms/october/issues/3655
Since I'm th...

Posted in Updating form on front-end generates error 406 (Not Acceptable) [resolved]

My form:

{{ form_ajax('onUpdate') }}
    <input type="text" name="first_name" value="{{ profile.firs...

Posted in Updating form on front-end generates error 406 (Not Acceptable) [resolved]

I'd like to use the FileUpload widget for one of my component's forms. I noticed there is a dedicate...

Posted in Using the FileUpload form widget on frontend ?

I think I got it.
It's actually very subtle.

Deletes only the model.

$data = post();
$member->attes...

Posted in How to delete a file ?