Skip to content

Commit

Permalink
use created instead of mounted for ft-radio-button and ft-checkbox-list
Browse files Browse the repository at this point in the history
Co-Authored-By: absidue <48293849+absidue@users.noreply.github.com>
  • Loading branch information
ChunkyProgrammer and absidue committed May 19, 2024
1 parent 81d98b0 commit bbe5785
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default defineComponent({
return name.toLowerCase() + this.id
}
},
mounted: function () {
created: function () {
this.id = this._uid
this.selectedValues = this.initialValues
},
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/ft-radio-button/ft-radio-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default defineComponent({
return name.toLowerCase() + this.id
}
},
mounted: function () {
created: function () {
this.id = this._uid
this.selectedValue = this.values[this.initialValueIndex]
},
Expand Down

0 comments on commit bbe5785

Please sign in to comment.