Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Incorrect cell validation / coercion #600

@Marc-Andre-Rivet

Description

@Marc-Andre-Rivet

1 - Validation default is not applied correctly when its value is 0 (number) -- the value is falsy and trips the default case
2 - Deleting cell content with backspace does not run validation

1 - This is simple, update https://github.com/plotly/dash-table/blob/dev/src/dash-table/type/reconcile.ts#L67 to do a R.isNil check instead

2 - This is a bit more involved, I suggest that we start using the on_change settings applicable to each cell and use the reconciliation result of null if the reconciliation is successful. Otherwise, continue using '' as we do right now.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions