Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Data validation is set to integer - not between, and an error will be prompted when entering a matching value #2114

Closed
2 tasks done
oumomomo opened this issue Apr 29, 2024 · 3 comments
Assignees
Labels
bug Something isn't working scope:data validation

Comments

@oumomomo
Copy link

oumomomo commented Apr 29, 2024

Before you submit this issue, have you checked the following

  • Is this really a problem?
  • I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions

dev

Reproduction link

问题1、
操作步骤:
1、数据验证框选某单元格设置为整数-未介于1与5之间
2、在框选的单元格内输入1-5范围外的数值

问题2、
操作步骤:
1、数据验证框选某单元格设置为文本长度-未介于1与3之间
2、在框选的单元格内输入1-范围外的数值

问题3
操作步骤:
1、数据验证框选某个单元格设置为日期-未介于某时间段与某时间段
2、在框选的单元格内选择范围外的日期

Expected behavior

问题1:
可以正常输入1-5范围外的值

问题2:
不能输入介于1-3之间的长度,可以输入1-3范围外的长度

问题3、
选择范围外的日期会正常提示报错

Actual behavior

问题1、
输入1-5范围外的值会有报错
2024_4_29 15_24_24 commands.json
提示

问题2、可以输入介于1-3之间的长度,输入1-3范围外的长度会报错

Uploading 2024_4_29 15_53_02 video.webm…

问题3、选择无效的日期,也不会有报错提示
Uploading 2024_4_29 16_28_48 video.webm…

System information

No response

@oumomomo oumomomo added bug Something isn't working scope:data validation labels Apr 29, 2024
@univer-bot
Copy link

univer-bot bot commented Apr 29, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Origin Title: [Bug]数据验证设置为整数-未介于,输入符合的值会提示错误

Title: [Bug] Data validation is set to integer - not between, and an error will be prompted when entering a matching value


Before you submit this issue, have you checked the following

  • Is this really a problem?
  • I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions

dev

Reproduction link

Question 1,
Steps:

  1. Data validation box selects a cell and sets it to an integer - not between 1 and 5
  2. Enter a value outside the range of 1-5 in the selected cell.

Question 2.
Steps:

  1. Data validation box selects a cell and sets the text length - not between 1 and 3
  2. Enter a value outside the range from 1 to the selected cell.

Question 3
Steps:

  1. Data validation box selects a cell and sets it as date - not between a certain time period and a certain time period
  2. Select dates outside the range in the selected cells.

Expected behavior

Question 1:
Values ​​outside the range of 1-5 can be entered normally

Question 2:
You cannot enter a length between 1-3. You can enter a length outside the range of 1-3.

Question 3.
If you select a date outside the range, an error will be reported normally.

Actual behavior

Question 1,
If you enter a value outside the range of 1-5, an error will be reported.
2024_4_29 15_24_24 commands.json
hint

Question 2. You can enter a length between 1-3. If you enter a length outside the range of 1-3, an error will be reported.

Uploading 2024_4_29 15_53_02 video.webm…

Question 3. If you select an invalid date, there will be no error message.
Uploading 2024_4_29 16_28_48 video.webm…

System information

No response

@univer-bot univer-bot bot changed the title [Bug]数据验证设置为整数-未介于,输入符合的值会提示错误 [Bug] Data validation is set to integer - not between, and an error will be prompted when entering a matching value Apr 29, 2024
weird94 added a commit that referenced this issue Apr 29, 2024
@oumomomo
Copy link
Author

问题3选择无效的日期还是无报错
image

@univer-bot
Copy link

univer-bot bot commented Apr 30, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Question 3: No error is reported when selecting an invalid date
image

weird94 added a commit that referenced this issue Apr 30, 2024
* fix: plain text dropdown click event

* feat: support render offset

* fix: #2121

* fix: close #2120

* fix: #2114

* fix: #2112

* feat: update

* feat: update

* feat: skip filter render
weird94 added a commit that referenced this issue May 21, 2024
* feat: add thread-comment pkg

* feat: update

* feat: update

* feat: update

* feat: update

* feat: update

* feat: update

* feat: temp

* feat: update

* feat: update

* feat: u

* feat: update

* feat: update

* feat: update

* feat: update

* fix: #2121

* fix: close #2120

* fix: #2114

* fix: #2112

* feat: temp

* feat: update

* feat: support at-input

* feat: ref-range

* feat: update mentions

* feat: user

* feat: update

* feat: update comment

* feat: style update

* feat: update

* feat: update

* feat: update

* feat: update

* feat: rename

* feat: scroller

* feat: update

* feat: update

* feat: update

* feat: update

* fix: #684 univer-pro

* feat: auto-height

* feat: update

* feat: update

* fix: eslint

* feat: remove useless code

* build: fix build error

* chore: fix lockfile

* build: fix deps

* feat: update

* feat: update

* feat: update

* feat: i18n

* feat: add sheet name

* feat: disable undo on resolve comment operation

* feat: update

* fix: #2174

* feat: #2162 checkbox ticked and unticked value

* feat: update

* fix: hover-manager-service

* feat: support copy-paste

* feat: sidebar visible status

* feat: style

* feat: update

* feat: update init

* feat: temp

* feat: update

* feat: update

* fix: checkbox validator

* feat: lint

* fix: error when delete worksheet

* feat: refactor canvas popup service

* feat: update

* feat: lock

* feat: custom-render event handler

* feat: update ref

* fix: copy-paste

* feat: update

* feat: update

* feat: update max-height

* feat: update

* feat: fix delete comment

* fix: #715

* feat: update

* feat: update scroll

* feat: style update

* feat: bugfix

* feat: update

* feat: close sidebar

* fix: cv undo

* feat: update

* feat: render z-index

* feat: code review issue

* feat: transform mentions data

* feat: u

* feat: bugfix

* feat: update

* feat: update

* feat: style & bugfix

* feat: style update

* feat: update

* feat: update

* feat: update

* feat: add thread-comment-data-source-service to support async comment crud

* feat: rename

* feat: build issue

* fix: sort order of comments

* feat: lint

* feat: rename

* feat: rebase dev

---------

Co-authored-by: 白熱 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working scope:data validation
Projects
None yet
Development

No branches or pull requests

2 participants