@syncfusion/ej2-inputs
Advanced tools
Comparing version 15.4.24 to 15.4.28
@@ -9,2 +9,12 @@ # Changelog | ||
- While set floatLabelType property as "Never", the placeholder not shown issue has been fixed | ||
- While set floatLabelType property as "Auto", the value becomes "undefined" at two-way binding issue has been fixed | ||
## 15.4.24-preview (2018-01-10) | ||
### MaskedTextBox | ||
#### Bug Fixes | ||
- Value not maintained properly in the MaskedTextBox two-way binding | ||
@@ -11,0 +21,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 15.4.23 | ||
* version : 15.4.24 | ||
* Copyright Syncfusion Inc. 2001 - 2017. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"name": "@syncfusion/ej2-inputs", | ||
"version": "15.4.24", | ||
"version": "15.4.28", | ||
"description": "Essential JS 2 Input Components", | ||
@@ -5,0 +5,0 @@ "author": "Syncfusion Inc.", |
@@ -77,8 +77,10 @@ var __extends = (this && this.__extends) || (function () { | ||
FormValidator.prototype.addRules = function (name, rules) { | ||
if (this.rules.hasOwnProperty(name)) { | ||
ej2_base_2.extend(this.rules[name], rules, {}); | ||
if (name) { | ||
if (this.rules.hasOwnProperty(name)) { | ||
ej2_base_2.extend(this.rules[name], rules, {}); | ||
} | ||
else { | ||
this.rules[name] = rules; | ||
} | ||
} | ||
else { | ||
this.rules[name] = rules; | ||
} | ||
}; | ||
@@ -85,0 +87,0 @@ FormValidator.prototype.removeRules = function (name, rules) { |
@@ -155,3 +155,3 @@ define(["require", "exports", "@syncfusion/ej2-base", "../../input/input"], function (require, exports, ej2_base_1, input_1) { | ||
(!ej2_base_1.isNullOrUndefined(this.customCharacters) && | ||
(!ej2_base_1.isNullOrUndefined(this.customCharacters[this.customRegExpCollec[k]])))))) { | ||
(!ej2_base_1.isNullOrUndefined(this.customCharacters[this.customRegExpCollec[k]]))))) && (element.value !== '')) { | ||
value += element.value[i]; | ||
@@ -158,0 +158,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { Component, Event, Property, EmitType, NotifyPropertyChanges, INotifyPropertyChanged, BaseEventArgs } from '@syncfusion/ej2-base';import { isNullOrUndefined, formatUnit, getValue, setValue, attributes, addClass, detach, createElement } from '@syncfusion/ej2-base';import { Input, InputObject, FloatLabelType } from '../../input/input';import { regularExpressions, createMask, applyMask, wireEvents, unwireEvents, unstrippedValue, strippedValue } from '../base/index';import { setMaskValue, MaskUndo, setElementValue } from '../base/index'; | ||
import { Component, Event, Property, EmitType, NotifyPropertyChanges, INotifyPropertyChanged, BaseEventArgs } from '@syncfusion/ej2-base';import { isNullOrUndefined, formatUnit, getValue, setValue, attributes, addClass, detach, createElement } from '@syncfusion/ej2-base';import { Input, InputObject, FloatLabelType } from '../../input/input';import { regularExpressions, createMask, applyMask, wireEvents, unwireEvents, unstrippedValue, strippedValue } from '../base/index';import { setMaskValue, MaskUndo, setElementValue } from '../base/index';import { maskInputBlurHandler } from '../base/mask-base'; | ||
import {MaskChangeEventArgs} from "./maskedtextbox"; | ||
@@ -3,0 +3,0 @@ import {ComponentModel} from '@syncfusion/ej2-base'; |
@@ -17,3 +17,3 @@ var __extends = (this && this.__extends) || (function () { | ||
}; | ||
define(["require", "exports", "@syncfusion/ej2-base", "@syncfusion/ej2-base", "../../input/input", "../base/index", "../base/index"], function (require, exports, ej2_base_1, ej2_base_2, input_1, index_1, index_2) { | ||
define(["require", "exports", "@syncfusion/ej2-base", "@syncfusion/ej2-base", "../../input/input", "../base/index", "../base/index", "../base/mask-base"], function (require, exports, ej2_base_1, ej2_base_2, input_1, index_1, index_2, mask_base_1) { | ||
"use strict"; | ||
@@ -104,2 +104,5 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
} | ||
if (this.floatLabelType === 'Never') { | ||
mask_base_1.maskInputBlurHandler.call(this); | ||
} | ||
} | ||
@@ -106,0 +109,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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
8235355
107
88313
1