Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aakashhgoud opened this issue May 22, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@aakashhgoud
Copy link

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.

@aakashhgoud aakashhgoud added the bug Something isn't working label May 22, 2024
@kid1194
Copy link
Owner

kid1194 commented May 29, 2024

@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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants