Good afternoon Tell me how to add code for export. So that the selected fields are successful. I do this, I edit the file /usr/share/nginx/html/client/res/templates/export/record, I wrote the code in it
Why is the code not running? The code works through the console
I want it to be possible to remove all selected fields when clicking, so as not to click on each cross with the mouse. In short, how to add custom javascript to the system. Thanks for answers)
Code:
<script> function del() { var inputElement = document.querySelector('input[data-name="fieldList"].selectized'); var selectizeInstance = inputElement.selectize; selectizeInstance.clear(); } <script> <button onclick="del()">Clean</button>
I want it to be possible to remove all selected fields when clicking, so as not to click on each cross with the mouse. In short, how to add custom javascript to the system. Thanks for answers)
Comment