Open GabrielSimonetto opened 3 years ago
I'll try my hand solving this issue later on the week, if something goes terribly wrong I'll post something here.
ok apparently this issue belongs on https://github.com/plotly/dash-table, sorry about that, should I just make the issue there?
@GabrielSimonetto I moved the issue over, thanks (and thanks for reporting!) Would be worth having a bit of a discussion about how best to solve this. From a quick look my impression is if you provide any sub-fields in format
besides nully
, this should be an unambiguous signal to infer type: 'numeric'
if not overridden, but perhaps @Marc-Andre-Rivet can say more?
I don't think we do much dynamic default inference here, but in plotly.js we have rules like this all over the place...
Describe your context
Describe the bug
Formatting doesn't work if type is not passed along, the problematic part for me is that it also doesn't raise an error, so in the midst of a more complex context it would be difficult to assert why it is failing.
Expected behavior
I believe some sort of error is more than enough to help the developer, inferring is probably possible, but that could create even more silent bugs.
Screenshots