In an 1:n relationship I want to prevent, that a user can choose an already choosen related record of another entity not would be able to choose again.
How is that possible?
How is that possible?
define('custom:views/positionen-werke/fields/atelierrechnung-werke', 'views/fields/link', function (Dep) {
return Dep.extend({
getSelectPrimaryFilterName: function () {
return 'available';
},
});
});
define('custom:views/positionen-werke/fields/atelierrechnung-werke', 'views/fields/link', function (Dep) {
return Dep.extend({
getSelectBoolFilterList: function () {
return ['available'];
},
});
});
custom:views/positionen-atelierrechnung/fields/atelierrechnung-werke
"atelierrechnungWerke": { "type": "belongsTo", "foreign": "positionenAtelierrechnung", "entity": "Werke", "audited": false, "isCustom": true, "view": "custom:views/positionen-atelierrechnung/fields/atelierrechnung-werke" },
Comment