MetaFormService constructor
MetaFormService(
- MSchemaService schemaService,
- OptionsService optionService,
- TypeaheadService optionViewService
Implementation
MetaFormService(
MSchemaService schemaService,
// ContactMKeyOptionsHandler handler,
this.optionService,
this.optionViewService,
) : _globalOverrides = MetadataOverrides(
labels: {contactKey: "Contact", contactKeys: "Contacts"},
placeholders: {
contactKey: "Choose a contact...",
contactKeys: "Choose contacts"
},
) {
_metaFormService = this;
handlers.add(PhoneWithExtensionPropertyHandler());
handlers.add(DurationPropertyHandler());
// handlers.add(ContactLinkOptionHandler(handler));
handlers.add(ImageUploadPropertyHandler());
handlers.add(ImageGalleryPropertyHandler());
handlers.add(VideoGalleryPropertyHandler());
handlers.add(MverseLinkOptionHandler());
handlers.add(MverseEmbedOptionHandler());
handlers.add(LocationPropertyHandler(schemaService));
handlers.add(RangePropertyHandler());
// handlers.add(ReachOutTypePropertyHandler());
handlers.add(CollapsingEmbedPropertyHandler({}));
handlers.add(DefaultPropertyHandler(optionService, optionViewService));
}