baidu / baidu/amis

Cordova环境下input-date、input-datetime、input-time三个组件使用报错

Open
#6,840 2 comments 0 reactions 0 assignees View on GitHub
need confirm
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

#### 描述问题:

Cordova环境下input-date、input-datetime、input-time三个组件使用报错

#### 截图或视频:

![image](https://github.com/baidu/amis/assets/127007861/ba546353-9fd8-4e09-b579-6e17b2917b22)
![image](https://github.com/baidu/amis/assets/127007861/8f2615f9-6df1-4bcc-8224-954df493fa45)

#### 如何复现(请务必完整填写下面内容):

1. 你是如何使用 amis 的?
sdk

2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在

2.8、2.9、3.0都有问题

3. 粘贴有问题的完整 `amis schema` 代码:
```
{
"label": "日期",
"type": "input-date",
"inputFormat": "YYYY-MM-DD",
"format": "YYYY-MM-DDT00:00:00.000[Z]",
"name": "date"
}
{
"type": "input-time",
"name": "time",
"label": "时间"
}
{
"type": "input-datetime",
"name": "datetime",
"label": "日期时间"
}
```

4. 操作步骤
在手机app上(包括安卓与ios),点击input-date、input-datetime、input-time中任意控件都能重现此问题(Cordova环境)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with the provided input-date, input-datetime, and input-time schemas in the amis SDK inside Cordova on both Android and iOS. Inspect the entry points for these three input components and compare their behavior in Cordova with the expected picker behavior. Done means all three controls can be opened and used without errors on both platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.