Skip to content

Commit

Permalink
feat: use internal value for textfield input
Browse files Browse the repository at this point in the history
  • Loading branch information
ayZagen committed Jan 4, 2021
1 parent 04c98af commit f2890bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/components/PTextField.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default defineComponent({
class: { 'pa__input--wrap': true }
}, [
h('input', Object.assign({},this.$attrs,{
value: this.modelValue,
value: this.internalValue,
ref: 'inputRef',
name: this.$attrs.name,
type: this.type || 'text',
Expand Down

0 comments on commit f2890bd

Please sign in to comment.