Skip to content

Commit

Permalink
fix(Input): fix maxlenght property problem (#1683)
Browse files Browse the repository at this point in the history
* fix(Input): fix maxlenght property problem

* fix: fix cr
  • Loading branch information
anlyyao authored Dec 18, 2024
1 parent 64caa66 commit 37c54c7
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 105 deletions.
4 changes: 0 additions & 4 deletions src/dialog/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,6 @@ exports[`Dialog > Dialog inputVue demo works fine 1`] = `
<input
autocomplete="Off"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="请输入文字"
spellcheck="false"
Expand Down Expand Up @@ -932,7 +931,6 @@ exports[`Dialog > Dialog inputVue demo works fine 1`] = `
<input
autocomplete="Off"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="请输入文字"
spellcheck="false"
Expand Down Expand Up @@ -1558,7 +1556,6 @@ exports[`Dialog > Dialog mobileVue demo works fine 1`] = `
<input
autocomplete="Off"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="请输入文字"
spellcheck="false"
Expand Down Expand Up @@ -1695,7 +1692,6 @@ exports[`Dialog > Dialog mobileVue demo works fine 1`] = `
<input
autocomplete="Off"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="请输入文字"
spellcheck="false"
Expand Down
12 changes: 0 additions & 12 deletions src/form/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ exports[`Form > Form horizontalVue demo works fine 1`] = `
<input
autocomplete="Off"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
Expand Down Expand Up @@ -127,7 +126,6 @@ exports[`Form > Form horizontalVue demo works fine 1`] = `
<input
autocomplete="Off"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
Expand Down Expand Up @@ -346,7 +344,6 @@ exports[`Form > Form horizontalVue demo works fine 1`] = `
<input
autocomplete="Off"
class="t-input__control t-input--right t-input--default"
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
Expand Down Expand Up @@ -873,7 +870,6 @@ exports[`Form > Form horizontalVue demo works fine 1`] = `
<input
autocomplete="Off"
class="t-input__control t-input--right t-input--default"
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
Expand Down Expand Up @@ -1830,7 +1826,6 @@ exports[`Form > Form mobileVue demo works fine 1`] = `
<input
autocomplete="Off"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
Expand Down Expand Up @@ -1903,7 +1898,6 @@ exports[`Form > Form mobileVue demo works fine 1`] = `
<input
autocomplete="Off"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
Expand Down Expand Up @@ -2122,7 +2116,6 @@ exports[`Form > Form mobileVue demo works fine 1`] = `
<input
autocomplete="Off"
class="t-input__control t-input--right t-input--default"
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
Expand Down Expand Up @@ -2649,7 +2642,6 @@ exports[`Form > Form mobileVue demo works fine 1`] = `
<input
autocomplete="Off"
class="t-input__control t-input--right t-input--default"
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
Expand Down Expand Up @@ -3471,7 +3463,6 @@ exports[`Form > Form verticalVue demo works fine 1`] = `
<input
autocomplete="Off"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
Expand Down Expand Up @@ -3542,7 +3533,6 @@ exports[`Form > Form verticalVue demo works fine 1`] = `
<input
autocomplete="Off"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
Expand Down Expand Up @@ -3757,7 +3747,6 @@ exports[`Form > Form verticalVue demo works fine 1`] = `
<input
autocomplete="Off"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
Expand Down Expand Up @@ -4282,7 +4271,6 @@ exports[`Form > Form verticalVue demo works fine 1`] = `
<input
autocomplete="Off"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
Expand Down
Loading

0 comments on commit 37c54c7

Please sign in to comment.