i got TimeField with label 开始生效时间 not found,Why?how do i ues timeField api #2710
labulakaupppppp
started this conversation in
General
Replies: 1 comment
-
I was able to resolve this issue by using a label with This answers your second question. Regarding your first question I would avoid trying to use the date picker. I think its fair to rely on the browser to put a valid date into the field when using the date picker. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Pic1
![image](https://private-user-images.githubusercontent.com/26108549/254450409-35cf274b-5fa4-47a8-8899-4104f8e4c58f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjUzMjIsIm5iZiI6MTczOTE2NTAyMiwicGF0aCI6Ii8yNjEwODU0OS8yNTQ0NTA0MDktMzVjZjI3NGItNWZhNC00N2E4LTg4OTktNDEwNGY4ZTRjNThmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA1MjM0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMzZTFjNGIxNDFkZTFhZmZkODE3MjlmMGY5ZTE4YjQxMWFmOTcyMDFhNDZlNGQzZTU2NGVmYTQyYTY0YWQ2MjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.NuzuqOq8sBTZU2juox_3-2h2a6OyKTDsj6Acqtk7mxI)
![image](https://private-user-images.githubusercontent.com/26108549/254450672-49821996-f152-4bfd-82a0-6daf228238a9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjUzMjIsIm5iZiI6MTczOTE2NTAyMiwicGF0aCI6Ii8yNjEwODU0OS8yNTQ0NTA2NzItNDk4MjE5OTYtZjE1Mi00YmZkLTgyYTAtNmRhZjIyODIzOGE5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA1MjM0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMwODFhMWZmYTc4ZTJhYTFhNzVhNzE1ZTY1MjhjMzI2ZGNlZGM2ZmI4NzU0ZTRkYjVhYjkzMGNkOTExZDYxOTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.YBoPB52QvP14mZ4h6s_OoNhy87JTZyabeGIeYDfBjLQ)
Pic2:
the page just like this picture, when i click the input type=text which text us "开始生效时间",the timefield will open
My question 1:
code: await click('开始生效时间'); but the timeField is not open
My question 2:
i open the timeField my hand and input code like:
await write (timeStr,into(timeField('开始生效时间')))
and i got an error 【Error: TimeField with label 开始生效时间 not found, run
.trace
for more info】so i want to know ,how can i input the time into the timeField?
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions