|
|
|
exports[`test renders ./components/cascader/demo/basic.md correctly 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker">
|
|
|
|
<input
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
placeholder="Please select"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
|
|
|
value="" />
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker-label" />
|
|
|
|
<i
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow" />
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/cascader/demo/change-on-select.md correctly 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker">
|
|
|
|
<input
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
placeholder="Please select"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
|
|
|
value="" />
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker-label" />
|
|
|
|
<i
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow" />
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/cascader/demo/custom-render.md correctly 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker"
|
|
|
|
style="width:270px;">
|
|
|
|
<input
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
|
|
|
value="" />
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker-label">
|
|
|
|
<span>
|
|
|
|
Zhejiang /
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Hangzhou /
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
West Lake (
|
|
|
|
<a>
|
|
|
|
752100
|
|
|
|
</a>
|
|
|
|
)
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-cross-circle ant-cascader-picker-clear" />
|
|
|
|
<i
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow" />
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/cascader/demo/custom-trigger.md correctly 1`] = `
|
|
|
|
<span>
|
|
|
|
Unselect
|
|
|
|
<a
|
|
|
|
href="#">
|
|
|
|
Change city
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/cascader/demo/default-value.md correctly 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker">
|
|
|
|
<input
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
|
|
|
value="" />
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker-label">
|
|
|
|
Zhejiang / Hangzhou / West Lake
|
|
|
|
</span>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-cross-circle ant-cascader-picker-clear" />
|
|
|
|
<i
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow" />
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/cascader/demo/disabled-option.md correctly 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker">
|
|
|
|
<input
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
placeholder="Please select"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
|
|
|
value="" />
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker-label" />
|
|
|
|
<i
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow" />
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/cascader/demo/hover.md correctly 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker">
|
|
|
|
<input
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
placeholder="Please select"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
|
|
|
value="" />
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker-label" />
|
|
|
|
<i
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow" />
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/cascader/demo/lazy.md correctly 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker">
|
|
|
|
<input
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
placeholder="Please select"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
|
|
|
value="" />
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker-label" />
|
|
|
|
<i
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow" />
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/cascader/demo/search.md correctly 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker">
|
|
|
|
<input
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
placeholder="Please select"
|
|
|
|
type="text"
|
|
|
|
value="" />
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker-label" />
|
|
|
|
<i
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow" />
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/cascader/demo/size.md correctly 1`] = `
|
|
|
|
<div>
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker">
|
|
|
|
<input
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-input ant-cascader-input ant-input-lg"
|
|
|
|
placeholder="Please select"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
|
|
|
value="" />
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker-label" />
|
|
|
|
<i
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow" />
|
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker">
|
|
|
|
<input
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
placeholder="Please select"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
|
|
|
value="" />
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker-label" />
|
|
|
|
<i
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow" />
|
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker">
|
|
|
|
<input
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-input ant-cascader-input ant-input-sm"
|
|
|
|
placeholder="Please select"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
|
|
|
value="" />
|
|
|
|
<span
|
|
|
|
class="ant-cascader-picker-label" />
|
|
|
|
<i
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow" />
|
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
</div>
|
|
|
|
`;
|