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

list column uses the value of validate() from the previous selection #4644

Open
QuantumConundrum opened this issue Nov 26, 2024 · 0 comments
Labels
Possible Bug A possible bug that needs investigation

Comments

@QuantumConundrum
Copy link

Describe the bug
When changing the selection in a cell in a list type column, expectation is that cell will be validated based on current selection, but it is based on previous selection.

Tabulator Info
6.3

Working Example
https://jsfiddle.net/4a79dek6/17/

To Reproduce

  1. In third row, enter "10" into "Non-Standard Amount (per unit)" column.
  2. In third row, click on "Ready to Invoice" cell and change to "Yes" (validation incorrectly passes)
  3. In the same cell, change back to "Yes - Non-Standard Rate" (validation incorrectly fails)
  4. Select "Yes - Non-Standard Rate" again (validation correctly passes)
  5. Select "Yes" (validation incorrectly passes)
  6. Select "Yes" again (validation correctly fails)

Expected behavior
Validation should pass fail based on currently selected value.

Screenshots
step 1
step 2 - incorrect validation pass
step 3 - incorrect validation fail

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Firefox
  • Version: 128.4.0esr
    and
  • Browser: Edge
  • Version: 131.0.2903.63
@QuantumConundrum QuantumConundrum added the Possible Bug A possible bug that needs investigation label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Possible Bug A possible bug that needs investigation
Projects
None yet
Development

No branches or pull requests

1 participant