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
See Announcement
We are still working on the Joomla update.
requirejs(['fab/fabrik'], function() {
Fabrik.addEvent('fabrik.form.elements.added', function(form) {
var field = form.formElements.get('sprawa_17_repeat___notatki_ro_0');
var value = field.get('value');
if (value == '') {
alert(value);
document.getElementById('group17_tab').style.display = 'none';
}
});
});