Git Product home page Git Product logo

ngx-validator's Introduction

Documentation

For detailed documentation, please visit projet's wiki page
Live Demo page

Changes

version 2.4.0

  • updated to angular 9

version 2.3.0

  • added <ngx-dropdown-for> component
  • bugfixes
  • added <ngx-input-for> (blur) event

version 2.2.2

  • bugfixes
  • added some styling. Now you should include 'node_modules/ngx-validator/lib/ngx-validator.css'

version 2.2.0

  • Added support for ngModelOptions "{ updateOn: 'blur' }" in <ngx-input-for>

version 2.1.1

  • Removed console.log :|

version 2.1.0

  • Breaking change: removed [labelClass], [inputClass] and [errorClass] input property from <ngx-label-for>, <ngx-input-for> and <ngx-validator-for> components . Now you can assign any class by class="form control"
  • added defaul css classes to <ngx-label-for> ('ngx-label' and 'ngx-label-child'), <ngx-input-for>('ngx-input' and 'ngx-input-child') and <ngx-validator-for> ('ngx-validator' and 'ngx-validator-child'). You can use them for additional styling

version 2.0.1

  • Breaking change: changed IsValid and ModelErrors type from Function to PropertyFunction.

version 2.0.0

  • Added support for reactive forms.
  • Added experimental ModelState decorator for class
  • Removed need for all property initialization through the class constructor
  • Some refactoring

version 1.2.4

  • updated readme. New documentation for library

version 1.2.3

  • bug fix in Required and RequiredIf.

version 1.2.2

  • bug fix

version 1.2.1

  • added support for custom template in ngx-input-for
            <ngx-input-for
                [model]="model"
                name="power"
                [(ngModel)]="model.power">
                <ng-template
                    ngxCustomTemplateFor
                    let-model>
                    <kendo-dropdownlist
                        [data]="listItems"
                        [textField]="'text'"
                        [valueField]="'value'"
                        name="power"
                        class="form-control"
                        [(ngModel)]="model.power"
                        [valuePrimitive]="true">
                    </kendo-dropdownlist>
                </ng-template>
            </ngx-input-for>

version 1.1.1

  • fixed placeholder translation error

version 1.1.0

  • added RequiredIf validation attribute

ngx-validator's People

Contributors

skeletonskelettron avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

anhzin

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.