odoo / o-spreadsheet

Other
193 stars 44 forks source link

[FIX] table: fix bug when edit table with invalid range #4789

Closed Rachico closed 2 months ago

Rachico commented 2 months ago

[FIX] table: fix bug when edit table with invalid range

Before this commit, when editing a table and entering an invalid range, the entire spreadsheet stops working and causes the browser to crash. This is due to an infinite call to onWillUpdateProps of the SelectionInput component.

This commit fixes the problem by removing a useless range validity check when the input changes.

Task: 4102425

review checklist

robodoo commented 2 months ago

Pull request status dashboard