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] Autocomplete showing upon Datapicker #295

Closed
nikolasj5 opened this issue Jun 22, 2020 · 2 comments
Closed

[BUG] Autocomplete showing upon Datapicker #295

nikolasj5 opened this issue Jun 22, 2020 · 2 comments
Labels
Bug Fixed and Staged Fixed in Master and ready to be included in the next release

Comments

@nikolasj5
Copy link
Contributor

Describe the bug
In a date field which previously had been filled, the autocomplete suggestions are shown upon the calendar (Datapicker) blocking its visualization.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Edit Task'
  2. Click on 'Working on it from until' date field
  3. See error

Expected behavior
Autocomplete should not show when there's a datepicker field.

Leantime Version
2.1.4

Server
nginx

PHP / MySQL Version
PHP 7.3
psql (PostgreSQL) 12.1 (Debian 12.1-1.pgdg100+1)

Additional context
Google Chrome Version 83.0.4103.97

@nikolasj5 nikolasj5 added the Bug label Jun 22, 2020
@nikolasj5
Copy link
Contributor Author

I still have to test, but a solution seems to be:

$('.datepicker').on('click', function(e) {
   e.preventDefault();
   $(this).attr("autocomplete", "off");  
});

@it-mkl
Copy link

it-mkl commented Oct 8, 2021

I added autocomplete="off" into the relevant fields in the submodule template, and that works.

@marcelfolaron marcelfolaron added the Fixed and Staged Fixed in Master and ready to be included in the next release label Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Fixed and Staged Fixed in Master and ready to be included in the next release
Projects
None yet
Development

No branches or pull requests

3 participants