You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -248,6 +248,19 @@ function (fieldOptionValue, userValue) {
248
248
}
249
249
```
250
250
251
+
</td>
252
+
</tr>
253
+
<tr>
254
+
<th>
255
+
<code>options.truncate</code>
256
+
</th>
257
+
<td>
258
+
<code>Function</code>
259
+
</td>
260
+
<td>
261
+
262
+
Text field values cannot exceed 1024 characters. By default, the `options.truncate` just returns text as is. We recommend to use an establish truncate function such as [loadsh's `_.truncate()`](https://lodash.com/docs/4.17.15#truncate), as byte size is not the same as text length.
0 commit comments