availity-reactstrap-validation
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -0,1 +1,11 @@ | ||
<a name="2.0.6"></a> | ||
## [2.0.6](https://github.com/Availity/availity-reactstrap-validation/compare/v2.0.5...v2.0.6) (2018-08-15) | ||
### Bug Fixes | ||
* **AvBaseInput:** fix form level disabled and readonly ([0b60900](https://github.com/Availity/availity-reactstrap-validation/commit/0b60900)) | ||
<a name="2.0.5"></a> | ||
@@ -2,0 +12,0 @@ ## [2.0.5](https://github.com/Availity/availity-reactstrap-validation/compare/v2.0.4...v2.0.5) (2018-08-14) |
@@ -211,7 +211,13 @@ 'use strict'; | ||
onChange: this.onChangeHandler, | ||
value: this.value, | ||
disabled: this.context.FormCtrl.isDisabled(), | ||
readOnly: this.context.FormCtrl.isReadOnly() | ||
value: this.value | ||
}, htmlValAttrs); | ||
if (this.props.disabled === undefined && this.context.FormCtrl.isDisabled() !== undefined) { | ||
newProps.disabled = this.context.FormCtrl.isDisabled(); | ||
} | ||
if (this.props.readOnly === undefined && this.context.FormCtrl.isReadOnly() !== undefined) { | ||
newProps.readOnly = this.context.FormCtrl.isReadOnly(); | ||
} | ||
if (this.props.type === 'checkbox') { | ||
@@ -297,2 +303,4 @@ newProps.checked = this.value === this.props.trueValue; | ||
multiple: _propTypes2.default.bool, | ||
disabled: _propTypes2.default.bool, | ||
readOnly: _propTypes2.default.bool, | ||
onKeyUp: _propTypes2.default.func, | ||
@@ -299,0 +307,0 @@ onInput: _propTypes2.default.func, |
{ | ||
"name": "availity-reactstrap-validation", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"author": "Evan Sharp <evan.sharp@availity.com>", | ||
@@ -5,0 +5,0 @@ "description": "Form validation helpers for reactstrap", |
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
6302004
35866