mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 13:06:56 +08:00
DEV: applies valueAttribute deprecation when null (#8887)
This commit is contained in:
@ -890,7 +890,7 @@ export default Component.extend(
|
|||||||
},
|
},
|
||||||
|
|
||||||
_deprecateValueAttribute() {
|
_deprecateValueAttribute() {
|
||||||
if (this.valueAttribute) {
|
if (this.valueAttribute || this.valueAttribute === null) {
|
||||||
this._deprecated(
|
this._deprecated(
|
||||||
"The `valueAttribute` is deprecated. Use `valueProperty` instead"
|
"The `valueAttribute` is deprecated. Use `valueProperty` instead"
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user