@syncfusion/ej2-buttons
Advanced tools
Comparing version 21.2.5 to 21.2.6
@@ -9,2 +9,10 @@ # Changelog | ||
- `#I463728` - The issue with "Provide the boolean value support for radio button while using the v-model property in VUE platform" has been resolved. | ||
## 21.2.5 (2023-05-16) | ||
### RadioButton | ||
#### Bug Fixes | ||
- `#F182133` - The issue with "Ripple element is not destroyed properly while clicking on radio button component" has been resolved. | ||
@@ -11,0 +19,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 21.2.5 | ||
* version : 21.2.6 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-buttons@*", | ||
"_id": "@syncfusion/ej2-buttons@21.2.3", | ||
"_id": "@syncfusion/ej2-buttons@21.2.5", | ||
"_inBundle": false, | ||
"_integrity": "sha512-rzOUvVPPON8wwRP/xX/ZWkF2teQ/Dcyolnwzmk0q/J6B8Rxns0dpWlthSGguwdjRfSYzDQ7aEDAPFWKuqaXVEw==", | ||
"_integrity": "sha512-HtrIciZX80Et4RFtfXQ1VOdNBm/8YLBFpO01MiAr9BJnVuYoH3G3i1S34c3JUKqhww3Xric3RyWdmGaL3qJHSA==", | ||
"_location": "/@syncfusion/ej2-buttons", | ||
@@ -47,4 +47,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-buttons/-/ej2-buttons-21.2.3.tgz", | ||
"_shasum": "21bec9865bf0a9c2402d34ba034e8640fdc75f15", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-buttons/-/ej2-buttons-21.2.5.tgz", | ||
"_shasum": "275704d3117bad4aa6eb27fcf64dc58c7f0b3b28", | ||
"_spec": "@syncfusion/ej2-buttons@*", | ||
@@ -106,4 +106,4 @@ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included", | ||
"typings": "index.d.ts", | ||
"version": "21.2.5", | ||
"version": "21.2.6", | ||
"sideEffects": false | ||
} |
@@ -60,2 +60,6 @@ var __extends = (this && this.__extends) || (function () { | ||
value = this.isVue && value ? this.element.value : this.value; | ||
var type = typeof this.value; | ||
if (this.isVue && type === 'boolean') { | ||
value = value === 'true' ? true : false; | ||
} | ||
this.trigger('change', { value: value, event: event }); | ||
@@ -180,6 +184,10 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
var value = this.element.getAttribute('value'); | ||
var type = typeof this.value; | ||
if (this.isVue && type === 'boolean') { | ||
value = value === 'true' ? true : false; | ||
} | ||
if (this.isVue && value && value === this.value) { | ||
this.checked = true; | ||
} | ||
if (this.isVue ? this.value && !value : this.value) { | ||
if (this.isVue ? this.value && type !== 'boolean' && !value : this.value) { | ||
this.element.setAttribute('value', this.value); | ||
@@ -309,3 +317,4 @@ } | ||
case 'value': | ||
if (!isNullOrUndefined(this.htmlAttributes) && this.htmlAttributes.value) { | ||
var type = typeof this.htmlAttributes.value; | ||
if (!isNullOrUndefined(this.htmlAttributes) && (this.htmlAttributes.value || type === 'boolean' && !this.htmlAttributes.value)) { | ||
break; | ||
@@ -312,0 +321,0 @@ } |
Sorry, the diff of this file is too big to display
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
8822287
182063