For running J!5.1 you must https://fabrikar.com/forums/index.php?wiki/update-from-github/ or include the new file manually https://fabrikar.com/forums/index.php?threads/joomla-5-1-and-fabrik-cannot-find-files-error.54473/post-285151 See also Announcements
Please see our announcement here.
jQuery(document).ready(function(){
jQuery('.fabrikElement option').text(function(i, text) {
if (text.length > 100) {
return text.substr(0, 100) + '...';
}
});
});
Fix what?How could I fix it?
requirejs(['fab/fabrik'], function() {
Fabrik.addEvent('fabrik.cdd.update', function(el) {
jQuery('#' + el.element.id + ' option').text(function(i, text) {
if (text.length > 100) {
return text.substr(0, 100) + '...';
}
});
});
});