Comments (6)
Unfortunately I believe it is super hard to make browser to not autocomplete inputs. We might randomize the form field name to avoid this?
from mugshot.
autocomplete="new-password"
on the name field seems to help
from mugshot.
@amenk I'm actually not able to reproduce this on my computer but I added a fix that, at a minimum, doesn't seem to break anything. The place where you enter the persons name is just an input box so I added a type of "text" and set the autocomplete field to false. That should prevent the browser from auto-completing the field in those text boxes.
from mugshot.
Ah actually it looks like there was a "bug that's a feature" that my update broke. When there is only one name in the list of matches you can hit enter to auto-select that name. After making the above update the name no longer populated fully, it remained what you had typed it as. I corrected that by explicitly setting the name as the input field's value.
from mugshot.
Which browser are you using? I think it only happens if you entered some names before in that input field and they are in the browser's autocomplete function. I am also not sure how to control this browser function. I am using Chrome 99 and it is super annoying. It's more a browser problem but makes usage of the plugin hard.
I also know that overriding the browser autocomplete can be super hard. We could move the plugin's autocomplete box at the top of the popup though... but first it needs to be reproduced properly.
I found this one:
https://superuser.com/questions/884029/see-all-autofill-data
So I have autofill data for the fields name_1
Name of the family member
which clashes with the suggestion by the plugin
There is this workaround: https://stackoverflow.com/a/29101636/288568
But it looks like autocomplete="off" should also work nowadays:
https://stackoverflow.com/questions/15738259/disabling-chrome-autofill
But:
For this to work be sure to have your input tag within a Form tag
which is currently in MugShot not the case
from mugshot.
I believe I found a reliable solution: #43
from mugshot.
Related Issues (20)
- howto turn crop user faces on
- Can't add tag to photo with existing tags HOT 1
- Missing function? HOT 1
- update to support piwigo 11 HOT 4
- Less opinionated button text HOT 1
- uninstalling plugin removes training images
- when the plugin is installed automatically create the taggers group HOT 1
- make it so tagging feature can be "always on" HOT 1
- Upgraded from MugShot 1.x to 2.0.2 and Piwigo 10 (minor issues) HOT 3
- Add support for Piwigo 12 HOT 1
- Screen elements jump up when activating tagging
- The SAVE/DONE button prevents selecting faces in the top/left corner HOT 2
- Deleting a mugshot from an image breaks other images
- I'm creating this issue to discuss impending facial detection and identification support HOT 1
- Error in main.inc.php
- v2.0.3 Fails to Load in Piwigo v12 (stays at v2.0.2) HOT 2
- error syntax HOT 1
- Allow tagging the same person multiple times
- MugShot Plugin Errror HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mugshot.