AngularJS directive which takes JSON representing a form and renders to HTML
'model.primary_packaging !== "tray" || model.primary_packaging !== "shelf_carton"'
means that the field will hide if the primary_packaging
is not equal to tray
or shelf_carton
formlyConfig.extras.disableNgModelAttrsManipulator
in formlyNgModelAttrsManipulator. Anyway, I'd really appreciate it!
model: 'formControl'