diff --git a/src/dialog/__test__/__snapshots__/demo.test.jsx.snap b/src/dialog/__test__/__snapshots__/demo.test.jsx.snap index a14225ca6..6f2bb97eb 100644 --- a/src/dialog/__test__/__snapshots__/demo.test.jsx.snap +++ b/src/dialog/__test__/__snapshots__/demo.test.jsx.snap @@ -825,6 +825,7 @@ exports[`Dialog > Dialog inputVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -965,6 +966,7 @@ exports[`Dialog > Dialog inputVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -1609,6 +1611,7 @@ exports[`Dialog > Dialog mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -1749,6 +1752,7 @@ exports[`Dialog > Dialog mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> diff --git a/src/form/__test__/__snapshots__/demo.test.jsx.snap b/src/form/__test__/__snapshots__/demo.test.jsx.snap index bc767d3e6..ab71d98a3 100644 --- a/src/form/__test__/__snapshots__/demo.test.jsx.snap +++ b/src/form/__test__/__snapshots__/demo.test.jsx.snap @@ -57,6 +57,7 @@ exports[`Form > Form horizontalVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入内容" + spellcheck="false" type="text" /> @@ -129,6 +130,7 @@ exports[`Form > Form horizontalVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入内容" + spellcheck="false" type="password" /> @@ -350,6 +352,7 @@ exports[`Form > Form horizontalVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入内容" + spellcheck="false" type="text" /> @@ -779,6 +782,7 @@ exports[`Form > Form horizontalVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入内容" + spellcheck="false" type="text" /> @@ -1742,6 +1746,7 @@ exports[`Form > Form mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入内容" + spellcheck="false" type="text" /> @@ -1814,6 +1819,7 @@ exports[`Form > Form mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入内容" + spellcheck="false" type="password" /> @@ -2035,6 +2041,7 @@ exports[`Form > Form mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入内容" + spellcheck="false" type="text" /> @@ -2464,6 +2471,7 @@ exports[`Form > Form mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入内容" + spellcheck="false" type="text" /> @@ -3296,6 +3304,7 @@ exports[`Form > Form verticalVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入内容" + spellcheck="false" type="text" /> @@ -3366,6 +3375,7 @@ exports[`Form > Form verticalVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入内容" + spellcheck="false" type="password" /> @@ -3583,6 +3593,7 @@ exports[`Form > Form verticalVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入内容" + spellcheck="false" type="text" /> @@ -4010,6 +4021,7 @@ exports[`Form > Form verticalVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入内容" + spellcheck="false" type="text" /> diff --git a/src/input/__test__/__snapshots__/demo.test.jsx.snap b/src/input/__test__/__snapshots__/demo.test.jsx.snap index 0ce179493..664da7ed3 100644 --- a/src/input/__test__/__snapshots__/demo.test.jsx.snap +++ b/src/input/__test__/__snapshots__/demo.test.jsx.snap @@ -30,6 +30,7 @@ exports[`Input > Input alignVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -64,6 +65,7 @@ exports[`Input > Input alignVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -98,6 +100,7 @@ exports[`Input > Input alignVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -138,6 +141,7 @@ exports[`Input > Input bannerVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -179,6 +183,7 @@ exports[`Input > Input baseVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -213,6 +218,7 @@ exports[`Input > Input baseVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字(选填)" + spellcheck="false" type="text" /> @@ -247,6 +253,7 @@ exports[`Input > Input baseVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -297,6 +304,7 @@ exports[`Input > Input borderedVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -358,6 +366,7 @@ exports[`Input > Input customVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -396,6 +405,7 @@ exports[`Input > Input labelVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -433,6 +443,7 @@ exports[`Input > Input layoutVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -491,6 +502,7 @@ exports[`Input > Input maxLengthVue demo works fine 1`] = ` maxlength="10" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -529,6 +541,7 @@ exports[`Input > Input maxLengthVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -607,6 +620,7 @@ exports[`Input > Input mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -641,6 +655,7 @@ exports[`Input > Input mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字(选填)" + spellcheck="false" type="text" /> @@ -675,6 +690,7 @@ exports[`Input > Input mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -731,6 +747,7 @@ exports[`Input > Input mobileVue demo works fine 1`] = ` maxlength="10" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -769,6 +786,7 @@ exports[`Input > Input mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -829,6 +847,7 @@ exports[`Input > Input mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -880,6 +899,7 @@ exports[`Input > Input mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入手机号码" + spellcheck="false" type="text" /> @@ -935,6 +955,7 @@ exports[`Input > Input mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -1025,6 +1046,7 @@ exports[`Input > Input mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -1076,6 +1098,7 @@ exports[`Input > Input mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="请输入文字" + spellcheck="false" type="text" /> @@ -1131,6 +1154,7 @@ exports[`Input > Input mobileVue demo works fine 1`] = ` class="t-input__control t-input--default" maxlength="-1" name="" + spellcheck="false" type="password" /> @@ -1182,6 +1206,7 @@ exports[`Input > Input mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="输入验证码" + spellcheck="false" type="text" /> @@ -1274,6 +1299,7 @@ exports[`Input > Input mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="输入手机号码" + spellcheck="false" type="text" /> @@ -1326,7 +1352,8 @@ exports[`Input > Input mobileVue demo works fine 1`] = ` maxlength="-1" name="" placeholder="0.00" - type="text" + spellcheck="false" + type="number" />