Giter Club home page Giter Club logo

Comments (13)

ragunathjawahar avatar ragunathjawahar commented on July 16, 2024

@PenzK v2 doesn't have all the rules implemented yet. @password is one of them. I'll keep the snapshots coming. Stable release will have all rules implemented.

from android-saripaar.

PenzK avatar PenzK commented on July 16, 2024

You are fast ) I was editing my issue )

from android-saripaar.

ragunathjawahar avatar ragunathjawahar commented on July 16, 2024

Hi, you'll receive two errors for the same password field.

  1. Password rule returns false all the time and does not have a message yet. The empty message that you are seeing is from the Password annotation.
  2. The second error message will be the one from your Size annotation.

For now, I suggest you to remove the @password annotation.

from android-saripaar.

PenzK avatar PenzK commented on July 16, 2024

Yes, removing @password did the trick

from android-saripaar.

ragunathjawahar avatar ragunathjawahar commented on July 16, 2024

@PenzK Hang on, we are nearing completion :)

from android-saripaar.

mehrad-rafigh avatar mehrad-rafigh commented on July 16, 2024

Has this issue been fixed by a snapshot yet?

from android-saripaar.

ragunathjawahar avatar ragunathjawahar commented on July 16, 2024

@mehrad-rafigh not yet. But will be today.

from android-saripaar.

samar-moursi avatar samar-moursi commented on July 16, 2024

Hi
@ragunathjawahar @ConfirmPassword is not working as well. Will it be fixed soon?

Thanks.

from android-saripaar.

ragunathjawahar avatar ragunathjawahar commented on July 16, 2024

@samar-moursi Yes, both will be fixed soon. Meanwhile, you can use the 1.0.3 version if you need it immediately.

from android-saripaar.

javierdac avatar javierdac commented on July 16, 2024

Great work! Waiting for this fix :-)

from android-saripaar.

samar-moursi avatar samar-moursi commented on July 16, 2024

@ragunathjawahar Thanks a lot. Waiting for the fix :-)

from android-saripaar.

ragunathjawahar avatar ragunathjawahar commented on July 16, 2024

Feature added in 2e241c7, please check the latest snapshot.

@Password(min = 6, scheme = Password.Scheme.ALPHA_NUMERIC_MIXED_CASE_SYMBOLS)
private EditText mPasswordEditText;

@samar-moursi I'll create another issue for @ConfirmPassword.

from android-saripaar.

ragunathjawahar avatar ragunathjawahar commented on July 16, 2024

@PenzK You don't have to use @Size along with @Password. @Password now contains a min attribute.

from android-saripaar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.