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
Hi!
I managed to extend ReferenceManyField like this :
import ReferenceManyField from 'admin-config/lib/Field/ReferenceManyField';
class ReferenceManyCustomField extends ReferenceManyField {
constructor(name) {
super(name);
this._type = 'reference_many_custom';
}
}
export default ReferenceManyCustomField;
But now the choices displayed include the current field value.
If I remove the line where I change the _type property, it goes back to normal.
Any hints on why this is happening?
The text was updated successfully, but these errors were encountered:
Hi!
I managed to extend
ReferenceManyField
like this :But now the
choices
displayed include the current field value.If I remove the line where I change the
_type
property, it goes back to normal.Any hints on why this is happening?
The text was updated successfully, but these errors were encountered: