QueryField.tsx
14.8 KB
-
Explore: query field should not propagate non-text change · 8d44ed8d
- after mounting with an initial value, the onChange of a query field is triggered - even though the slate documents are not the same, their text values are identical, hence the change propagation is useless - added check to propagate text change only when text has actually changed
David Kaltschmidt committed