Skip to content

Commit

Permalink
feat(input): support spellCheck (#1435)
Browse files Browse the repository at this point in the history
* feat: support spellCheck

* test: update snapshot
  • Loading branch information
liweijie0812 authored Jun 6, 2024
1 parent 5767f0f commit c82f1bf
Show file tree
Hide file tree
Showing 9 changed files with 87 additions and 15 deletions.
4 changes: 4 additions & 0 deletions src/dialog/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,7 @@ exports[`Dialog > Dialog inputVue demo works fine 1`] = `
maxlength="-1"
name=""
placeholder="请输入文字"
spellcheck="false"
type="text"
/>
<!---->
Expand Down Expand Up @@ -965,6 +966,7 @@ exports[`Dialog > Dialog inputVue demo works fine 1`] = `
maxlength="-1"
name=""
placeholder="请输入文字"
spellcheck="false"
type="text"
/>
<!---->
Expand Down Expand Up @@ -1609,6 +1611,7 @@ exports[`Dialog > Dialog mobileVue demo works fine 1`] = `
maxlength="-1"
name=""
placeholder="请输入文字"
spellcheck="false"
type="text"
/>
<!---->
Expand Down Expand Up @@ -1749,6 +1752,7 @@ exports[`Dialog > Dialog mobileVue demo works fine 1`] = `
maxlength="-1"
name=""
placeholder="请输入文字"
spellcheck="false"
type="text"
/>
<!---->
Expand Down
12 changes: 12 additions & 0 deletions src/form/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ exports[`Form > Form horizontalVue demo works fine 1`] = `
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
type="text"
/>
<!---->
Expand Down Expand Up @@ -129,6 +130,7 @@ exports[`Form > Form horizontalVue demo works fine 1`] = `
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
type="password"
/>
<!---->
Expand Down Expand Up @@ -350,6 +352,7 @@ exports[`Form > Form horizontalVue demo works fine 1`] = `
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
type="text"
/>
<!---->
Expand Down Expand Up @@ -779,6 +782,7 @@ exports[`Form > Form horizontalVue demo works fine 1`] = `
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
type="text"
/>
<!---->
Expand Down Expand Up @@ -1742,6 +1746,7 @@ exports[`Form > Form mobileVue demo works fine 1`] = `
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
type="text"
/>
<!---->
Expand Down Expand Up @@ -1814,6 +1819,7 @@ exports[`Form > Form mobileVue demo works fine 1`] = `
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
type="password"
/>
<!---->
Expand Down Expand Up @@ -2035,6 +2041,7 @@ exports[`Form > Form mobileVue demo works fine 1`] = `
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
type="text"
/>
<!---->
Expand Down Expand Up @@ -2464,6 +2471,7 @@ exports[`Form > Form mobileVue demo works fine 1`] = `
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
type="text"
/>
<!---->
Expand Down Expand Up @@ -3296,6 +3304,7 @@ exports[`Form > Form verticalVue demo works fine 1`] = `
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
type="text"
/>
<!---->
Expand Down Expand Up @@ -3366,6 +3375,7 @@ exports[`Form > Form verticalVue demo works fine 1`] = `
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
type="password"
/>
<!---->
Expand Down Expand Up @@ -3583,6 +3593,7 @@ exports[`Form > Form verticalVue demo works fine 1`] = `
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
type="text"
/>
<!---->
Expand Down Expand Up @@ -4010,6 +4021,7 @@ exports[`Form > Form verticalVue demo works fine 1`] = `
maxlength="-1"
name=""
placeholder="请输入内容"
spellcheck="false"
type="text"
/>
<!---->
Expand Down
Loading

0 comments on commit c82f1bf

Please sign in to comment.