dhanasingh / redmine_wktime

ERPmine is an open source free ERP for Service Industries. It runs within Redmine
https://erpmine.org/
Other
120 stars 79 forks source link

Bring back search dropdown to project input on timesheet edit page #299

Closed JeffDess closed 6 months ago

JeffDess commented 1 year ago

Migrating from an older version of the plugin, I've noticed that users could not search in the project row field when creating/editing a timesheet anymore. It is particularly useful when having a lot of projects, I guess it would be great to add it back.

It seems to work fine by just adding issueDD class to the input field.

JeffDess commented 1 year ago

After some more testing, I've come to realized that, while it works fine for the project input, it has somehow "stolen" the issues input dropdown. I guess it requires a new projectDD configuration?

JeffDess commented 6 months ago

I've got it working, the issue is that all dropdowns have the same id, which is not valid HTML and therefore not supported by select2 which applies the dropdown only to the last element with the id. I am closing the PR but I'd be willing to contribute if the fix is wanted.