Skip to content

[BUG]: better-attach getting overridden to original attach-control after single use. #18

Description

@aakashhgoud

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions