mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:09:08 +08:00
fix:修复 embed 模式下 input-date-range 无法使用问题 (#3875)
* fix:修复 embed 模式下 input-date-range 无法使用问题 * 更新 snapshot
This commit is contained in:
parent
8fd4f09dcd
commit
cc47d64d44
@ -58,7 +58,7 @@ exports[`Renderer:dateRange 1`] = `
|
|||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
class="cxd-DateRangePicker-input"
|
class="cxd-DateRangePicker-input isActive"
|
||||||
placeholder="选择开始时间"
|
placeholder="选择开始时间"
|
||||||
type="text"
|
type="text"
|
||||||
value="2019-06-06"
|
value="2019-06-06"
|
||||||
|
@ -518,6 +518,7 @@ export class DateRangePicker extends React.Component<
|
|||||||
this.state = {
|
this.state = {
|
||||||
isOpened: false,
|
isOpened: false,
|
||||||
isFocused: false,
|
isFocused: false,
|
||||||
|
editState: 'start',
|
||||||
startDate,
|
startDate,
|
||||||
endDate,
|
endDate,
|
||||||
startInputValue: startDate?.format(inputFormat),
|
startInputValue: startDate?.format(inputFormat),
|
||||||
|
Loading…
Reference in New Issue
Block a user