Skip to content

Commit

Permalink
fix(ld-input): remove unnecessary watch decorator on required prop
Browse files Browse the repository at this point in the history
  • Loading branch information
borisdiakur authored and renet committed Dec 2, 2021
1 parent 8688ba6 commit c31237d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/liquid/components/ld-input/ld-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ export class LdInput implements InnerFocusable {
@Watch('dirname')
@Watch('form')
@Watch('name')
@Watch('required')
@Watch('value')
updateHiddenInput() {
const outerForm = this.el.closest('form')
Expand All @@ -133,7 +132,6 @@ export class LdInput implements InnerFocusable {

if (this.hiddenInput) {
this.hiddenInput.dirName = this.dirname
this.hiddenInput.required = this.required

if (this.name) {
this.hiddenInput.name = this.name
Expand Down

0 comments on commit c31237d

Please sign in to comment.