Code Monkey home page Code Monkey logo

yii2-br-validator's People

Contributors

guilhermelessa avatar leandrogehlen avatar marciocamello avatar rafaelwithoeft avatar wbraganca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

yii2-br-validator's Issues

Invalid path alias: @yiibr/brvalidator/assets

Estou tendo o erro PHP User Error 'yii\base\ErrorException' with message 'Exception 'yii\base\InvalidArgumentException' with message 'Invalid path alias: @yiibr/brvalidator/assets' ao tentar usar o pacote.

Já uso esse pacote em outros 2 projetos, nunca tivesse esse problema.

Porém nesse projeto atual estou tendo o erro no servidor. Local não tenho problemas. Já tentei excluir a pasta vendor e o lock file e reinstalar tudo mas não adiantou.

I can not install with composer

Hi,
When I try install in my machine I receive this menssages:

php composer.phar require --prefer-dist yiibr/yii2-br-validator "*"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- The requested package yiibr/yii2-br-validator could not be found in any version, there may be a typo in the package name.

Potential causes:

Read http://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

Installation failed, reverting ./composer.json to its original content.

Validação indevida

Olá!
Estou usando o MaskedInput para forçar a máscara .._- em campos de CPF.
Notei que se o usuário não preencher o último dígito, ficando o carácter underline em seu lugar e se o último número for zero, o validador está validando como correto.

Exemplo: CPF = 234.567.058-40
Se não digitar o 0 do final, o CPF chegará ao validador como 234.567.058-4_, será considerado válido e será gravado assim no banco.

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.