frappe-better-attach-control
frappe-better-attach-control copied to clipboard
[BUG]: better-attach getting overridden to original attach-control after single use.
Describe the bug I have setup the attach control to allow only PDF files. Next, I have added a controller to autoname the doctype using the attach field name. The first time I'm opening the file picker, it's restricting to show only PDF files and say I added the first item. When I press "Add Doctype" again to add the second item, the original attach-control of frappe app is opening and I'm able to select all the files.
Additional context I have added a controller to autoname the doctype using "Script" option in Naming.
@kashgod Thank you bro for reporting this and sorry for my late response..
I have made some changes to the plugin so please give it another try. I hope that it works this time..
Please let me know if it still keeps on reverting to base frappe control..
Best regards..