Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Adrien Crivelli
    Steve Barman
    Hey people!
    Marwan Rabbâa
    hi, is there any demo of ui-validate in action ?
    Adrien Crivelli
    Marwan Rabbâa
    i mean form validation (format)
    Adrien Crivelli
    there is nothing else than the mentioned page

    Hey could someone help me?

          <div class="form-group">
            <label for="newName" class="control-label">Key</label>
            <input type="text" class="form-control" placeholder="//Necessary" name="newName" ng-model="newName" ng-minlength="3" ng-maxlength="50" required ui-validate-async="'create(newName)'">
              {{createKeyForm.newName.$viewValue.length || 0}}|50</input>
            <p ng-show="createKeyForm.newName.$error.maxlength || createKeyForm.newName.$error.minlength" class="help-block">Minimal length 3 and Maximal length 50 allowed</p>
            <p ng-show="createKeyForm.newName.$touched && createKeyForm.newName.$invalid" class="help-block">Please Fill out</p>
            <p ng-show="createKeyForm.newName.$error.validatorAsync" class="help-block">This Key allready exists |</p>
    $scope.create = () => {
                  this.$'/api/dict_keys', {
                    name: $scope.newName,
                    notice: $scope.newNotice,
                    user_id: this.currentUser()._id

    It Errors whole time with anything I put in. If its correct or not. Calling whole time the Async Error

    Chirigiu Corin
    Hello, quick question, I have an error with an unknown provider for uiValidateDirective, any thoughts on this?
    mentioning that it occurs after minifying only