We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fdaf97 commit 39019aeCopy full SHA for 39019ae
src/index.js
@@ -1,6 +1,6 @@
1
import CoCreateObserver from '@cocreate/observer'
2
-import ccutils from '@cocreate/utils';
3
import crdt from '@cocreate/crdt'
+import crud from '@cocreate/crud-client'
4
import CoCreateInput from '@cocreate/input'
5
import floatingLabel from '@cocreate/floating-label'
6
import htmltags from '@cocreate/htmltags'
@@ -132,7 +132,7 @@ var CoCreateCalculation = {
132
if (ele.tagName == 'INPUT' || ele.tagName == 'TEXTAREA' || ele.tagName == 'SELECT') {
133
ele.value = result
134
135
- if (ccutils.isUsageY(ele)) {
+ if (crud.isCRDT(ele)) {
136
ele.value = "";
137
crdt.replaceText({
138
collection: ele.getAttribute('data-collection'),
0 commit comments