Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions __tests__/__snapshots__/factory.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ exports[`factory:definitions 1`] = `
class="cxd-Form cxd-Form--normal"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--normal"
data-role="form-item"
Expand Down Expand Up @@ -194,6 +198,10 @@ exports[`factory:definitions 1`] = `
class="cxd-Form cxd-Form--normal cxd-Combo-form"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--normal"
data-role="form-item"
Expand Down Expand Up @@ -304,10 +312,6 @@ exports[`factory:definitions 1`] = `
</span>
</div>
</div>
<input
style="display: none;"
type="submit"
/>
</div>
</div>
<a
Expand Down Expand Up @@ -354,10 +358,6 @@ exports[`factory:definitions 1`] = `
</span>
</div>
</div>
<input
style="display: none;"
type="submit"
/>
</form>
</div>
<div
Expand Down Expand Up @@ -462,6 +462,10 @@ exports[`factory:definitions override 1`] = `
class="cxd-Form cxd-Form--normal"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--normal"
data-role="form-item"
Expand Down Expand Up @@ -569,10 +573,6 @@ exports[`factory:definitions override 1`] = `
</span>
</div>
</div>
<input
style="display: none;"
type="submit"
/>
</form>
</div>
<div
Expand Down
8 changes: 4 additions & 4 deletions __tests__/renderers/Form/__snapshots__/array.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ exports[`Renderer:array 1`] = `
class="cxd-Form cxd-Form--normal"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--normal"
data-role="form-item"
Expand All @@ -46,10 +50,6 @@ exports[`Renderer:array 1`] = `
</span>
</label>
</div>
<input
style="display: none;"
type="submit"
/>
</form>
</div>
<div
Expand Down
16 changes: 8 additions & 8 deletions __tests__/renderers/Form/__snapshots__/button.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ exports[`Renderer:button 1`] = `
class="cxd-Form cxd-Form--normal"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--normal"
data-role="form-item"
Expand Down Expand Up @@ -83,10 +87,6 @@ exports[`Renderer:button 1`] = `
</span>
</button>
</div>
<input
style="display: none;"
type="submit"
/>
</form>
</div>
<div
Expand Down Expand Up @@ -160,6 +160,10 @@ exports[`Renderer:button 2`] = `
class="cxd-Form cxd-Form--normal"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--normal"
data-role="form-item"
Expand Down Expand Up @@ -215,10 +219,6 @@ exports[`Renderer:button 2`] = `
</span>
</button>
</div>
<input
style="display: none;"
type="submit"
/>
</form>
</div>
<div
Expand Down
24 changes: 12 additions & 12 deletions __tests__/renderers/Form/__snapshots__/buttonGroup.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ exports[`Renderer:button-group 1`] = `
class="cxd-Form cxd-Form--normal"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--normal"
data-role="form-item"
Expand Down Expand Up @@ -101,10 +105,6 @@ exports[`Renderer:button-group 1`] = `
</div>
</div>
</div>
<input
style="display: none;"
type="submit"
/>
</form>
</div>
<div
Expand Down Expand Up @@ -178,6 +178,10 @@ exports[`Renderer:button-group:multiple clearable 1`] = `
class="cxd-Form cxd-Form--normal"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--normal"
data-role="form-item"
Expand Down Expand Up @@ -247,10 +251,6 @@ exports[`Renderer:button-group:multiple clearable 1`] = `
</div>
</div>
</div>
<input
style="display: none;"
type="submit"
/>
</form>
</div>
<div
Expand Down Expand Up @@ -324,6 +324,10 @@ exports[`Renderer:button-group:multiple clearable 2`] = `
class="cxd-Form cxd-Form--normal"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--normal"
data-role="form-item"
Expand Down Expand Up @@ -393,10 +397,6 @@ exports[`Renderer:button-group:multiple clearable 2`] = `
</div>
</div>
</div>
<input
style="display: none;"
type="submit"
/>
</form>
</div>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ exports[`Renderer:button-toolbar 1`] = `
class="cxd-Form cxd-Form--normal"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--normal"
data-role="form-item"
Expand Down Expand Up @@ -66,10 +70,6 @@ exports[`Renderer:button-toolbar 1`] = `
</div>
</div>
</div>
<input
style="display: none;"
type="submit"
/>
</form>
</div>
<div
Expand Down Expand Up @@ -143,6 +143,10 @@ exports[`Renderer:button-toolbar 2`] = `
class="cxd-Form cxd-Form--normal"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--normal"
data-role="form-item"
Expand Down Expand Up @@ -181,10 +185,6 @@ exports[`Renderer:button-toolbar 2`] = `
</div>
</div>
</div>
<input
style="display: none;"
type="submit"
/>
</form>
</div>
<div
Expand Down
8 changes: 4 additions & 4 deletions __tests__/renderers/Form/__snapshots__/checkbox.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ exports[`Renderer:checkbox 1`] = `
class="cxd-Form cxd-Form--normal"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--normal"
data-role="form-item"
Expand Down Expand Up @@ -69,10 +73,6 @@ exports[`Renderer:checkbox 1`] = `
</label>
</div>
</div>
<input
style="display: none;"
type="submit"
/>
</form>
</div>
<div
Expand Down
16 changes: 8 additions & 8 deletions __tests__/renderers/Form/__snapshots__/checkboxes.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ exports[`Renderer:checkboxes 1`] = `
class="cxd-Form cxd-Form--normal"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--normal"
data-role="form-item"
Expand Down Expand Up @@ -137,10 +141,6 @@ exports[`Renderer:checkboxes 1`] = `
</div>
</div>
</div>
<input
style="display: none;"
type="submit"
/>
</form>
</div>
<div
Expand Down Expand Up @@ -214,6 +214,10 @@ exports[`Renderer:checkboxes 2`] = `
class="cxd-Form cxd-Form--normal"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--normal"
data-role="form-item"
Expand Down Expand Up @@ -319,10 +323,6 @@ exports[`Renderer:checkboxes 2`] = `
</div>
</div>
</div>
<input
style="display: none;"
type="submit"
/>
</form>
</div>
<div
Expand Down
8 changes: 4 additions & 4 deletions __tests__/renderers/Form/__snapshots__/city.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ exports[`Renderer:city 1`] = `
class="cxd-Form cxd-Form--normal"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--normal"
data-role="form-item"
Expand Down Expand Up @@ -152,10 +156,6 @@ exports[`Renderer:city 1`] = `
</div>
</div>
</div>
<input
style="display: none;"
type="submit"
/>
</form>
</div>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ exports[`Renderer:container 1`] = `
class="cxd-Form cxd-Form--normal"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--horizontal no-border"
data-role="form-item"
Expand Down Expand Up @@ -91,10 +95,6 @@ exports[`Renderer:container 1`] = `
</div>
</div>
</div>
<input
style="display: none;"
type="submit"
/>
</form>
</div>
<div
Expand Down
8 changes: 4 additions & 4 deletions __tests__/renderers/Form/__snapshots__/date.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ exports[`Renderer:date 1`] = `
class="cxd-Form cxd-Form--normal"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--normal"
data-role="form-item"
Expand Down Expand Up @@ -76,10 +80,6 @@ exports[`Renderer:date 1`] = `
</div>
</div>
</div>
<input
style="display: none;"
type="submit"
/>
</form>
</div>
<div
Expand Down
8 changes: 4 additions & 4 deletions __tests__/renderers/Form/__snapshots__/dateRang.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ exports[`Renderer:dateRange 1`] = `
class="cxd-Form cxd-Form--normal"
novalidate=""
>
<input
style="display: none;"
type="submit"
/>
<div
class="cxd-Form-item cxd-Form-item--normal"
data-role="form-item"
Expand Down Expand Up @@ -76,10 +80,6 @@ exports[`Renderer:dateRange 1`] = `
</div>
</div>
</div>
<input
style="display: none;"
type="submit"
/>
</form>
</div>
<div
Expand Down
Loading