Skip to content

Commit

Permalink
fix: select button
Browse files Browse the repository at this point in the history
  • Loading branch information
damuso committed Nov 25, 2024
1 parent cc16780 commit 8457472
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/core/src/baseeditableholder/BaseEditableHolder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default {
$formValue: {
immediate: false,
handler(newValue) {
if (this.$pcForm?.states?.[this.$formName] && newValue !== this.d_value) {
if (this.$formName !== undefined && this.$pcForm?.states?.[this.$formName] && newValue !== this.d_value) {
this.d_value = newValue;
}
}
Expand Down Expand Up @@ -120,6 +120,9 @@ export default {
// @deprecated use $filled instead
filled() {
return this.$filled;
},
formValue() {
return this.$pcForm?.states?.[this.$formName]?.value;
}
}
};
Expand Down

0 comments on commit 8457472

Please sign in to comment.