@syncfusion/ej2-inputs
Advanced tools
Comparing version 16.3.21 to 16.3.22
@@ -5,2 +5,16 @@ # Changelog | ||
### FormValidator | ||
#### Bug Fixes | ||
- Form validator for number contain email domain name issue has been fixed. | ||
### NumericTextBox | ||
#### Bug Fixes | ||
- Validation is not working properly for "NumericTextBox" in focus out, issue has been fixed | ||
## 16.3.21 (2018-09-22) | ||
### ColorPicker | ||
@@ -7,0 +21,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 16.3.21 | ||
* version : 16.3.22 | ||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"name": "@syncfusion/ej2-inputs", | ||
"version": "16.3.21", | ||
"version": "16.3.22", | ||
"description": "A package of Essential JS 2 input components such as Textbox, Color-picker, Masked-textbox, Numeric-textbox, Slider, Upload, and Form-validator that is used to get input from the users.", | ||
@@ -14,3 +14,3 @@ "author": "Syncfusion Inc.", | ||
"@syncfusion/ej2-popups": "~16.3.21", | ||
"@syncfusion/ej2-splitbuttons": "~16.3.21" | ||
"@syncfusion/ej2-splitbuttons": "~16.3.22" | ||
}, | ||
@@ -17,0 +17,0 @@ "devDependencies": { |
@@ -23,3 +23,3 @@ var __extends = (this && this.__extends) || (function () { | ||
*/ | ||
var VALIDATE_EMAIL = new RegExp('^[A-Za-z0-9._%+-]{3,}@[a-zA-Z]{3,}([.]{1}[a-zA-Z]{2,5}' + | ||
var VALIDATE_EMAIL = new RegExp('^[A-Za-z0-9._%+-]{3,}@[a-zA-Z0-9]{3,}([.]{1}[a-zA-Z]{2,5}' + | ||
'|[.]{1}[a-zA-Z]{2,4}[.]{1}[a-zA-Z]{2,4})$'); | ||
@@ -26,0 +26,0 @@ var VALIDATE_URL = new RegExp('^((ftp|http|https):\/\/)?www\.([A-z]{2,})\.([A-z]{2,})$'); |
@@ -1,2 +0,2 @@ | ||
import { Component, EventHandler, Property, Event, Browser, L10n, EmitType } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, BaseEventArgs } from '@syncfusion/ej2-base';import { createElement, attributes, addClass, removeClass, setStyleAttribute, detach } from '@syncfusion/ej2-base';import { isNullOrUndefined, getValue, formatUnit, setValue, merge } from '@syncfusion/ej2-base';import { Internationalization, NumberFormatOptions, getNumericObject } from '@syncfusion/ej2-base';import { Input, InputObject, FloatLabelType } from '../input/input'; | ||
import { Component, EventHandler, Property, Event, Browser, L10n, EmitType } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, BaseEventArgs } from '@syncfusion/ej2-base';import { createElement, attributes, addClass, removeClass, setStyleAttribute, detach, closest } from '@syncfusion/ej2-base';import { isNullOrUndefined, getValue, formatUnit, setValue, merge } from '@syncfusion/ej2-base';import { Internationalization, NumberFormatOptions, getNumericObject } from '@syncfusion/ej2-base';import { Input, InputObject, FloatLabelType } from '../input/input'; | ||
import {ChangeEventArgs} from "./numerictextbox"; | ||
@@ -3,0 +3,0 @@ import {ComponentModel} from '@syncfusion/ej2-base'; |
@@ -19,3 +19,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import { NotifyPropertyChanges } from '@syncfusion/ej2-base'; | ||
import { attributes, addClass, removeClass, setStyleAttribute, detach } from '@syncfusion/ej2-base'; | ||
import { attributes, addClass, removeClass, setStyleAttribute, detach, closest } from '@syncfusion/ej2-base'; | ||
import { isNullOrUndefined, getValue, formatUnit, setValue, merge } from '@syncfusion/ej2-base'; | ||
@@ -677,2 +677,9 @@ import { Internationalization, getNumericObject } from '@syncfusion/ej2-base'; | ||
} | ||
var formElement = closest(this.element, 'form'); | ||
if (formElement) { | ||
var element = this.element.nextElementSibling; | ||
var focusEvent = document.createEvent('FocusEvent'); | ||
focusEvent.initEvent('focusout', true, true); | ||
element.dispatchEvent(focusEvent); | ||
} | ||
}; | ||
@@ -679,0 +686,0 @@ ; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7817783
80953