How to use the aurelia-validation.validateTrigger.manual function in aurelia-validation

To help you get started, we’ve selected a few aurelia-validation examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github stamp-web / stamp-web-aurelia / src / resources / views / countries / country-editor.js View on Github external
constructor(eventBus, bindingEngine, i18n, validationController) {
        this.eventBus = eventBus;
        this.bindingEngine = bindingEngine;
        this.i18n = i18n;
        this.validationController = validationController;
        this.validationController.validationTigger = validateTrigger.manual;
    }
github stamp-web / stamp-web-aurelia / src / views / catalogues / catalogue-editor.js View on Github external
constructor(eventBus, bindingEngine, i18n, validationController) {
        this.eventBus = eventBus;
        this.bindingEngine = bindingEngine;
        this.i18n = i18n;
        this.validationController = validationController;
        this.validationController.validationTigger = validateTrigger.manual;
    }
github stamp-web / stamp-web-aurelia / src / resources / elements / ownerships / ownership-editor.js View on Github external
constructor(eventBus, bindingEngine, albumService, sellerService, i18n, validationController) {
        super(eventBus);
        this.bindingEngine = bindingEngine;
        this.albumService = albumService;
        this.sellerService = sellerService;
        this.i18n = i18n;
        this.validationController = validationController;
        this.validationController.validateTrigger = validateTrigger.manual;
        this.loadDependentModels();
    }
github stamp-web / stamp-web-aurelia / src / resources / elements / catalogue-numbers / cn-details.js View on Github external
constructor(eventBus, bindingEngine, i18n, catalogueService, validationController) {
        super(eventBus);
        this.catalogueService = catalogueService;
        this.bindingEngine = bindingEngine;
        this.i18n = i18n;
        validationController.validateTrigger = validateTrigger.manual;
        this.validationController = validationController;
        this._loadCatalogues();
    }
github stamp-web / stamp-web-aurelia / src / views / stamps / purchase-form.js View on Github external
constructor(controller, i18n, stampService, validationController) {
        this.controller = controller;
        this.i18n = i18n;
        this.stampService = stampService;
        this.validationController = validationController;
        this.validationController.validateTrigger = validateTrigger.manual;
        this._validateDebounced = _.debounce(this._validate.bind(this), 250);
    }
github stamp-web / stamp-web-aurelia / src / resources / elements / stamps / stamp-details.js View on Github external
constructor(eventBus, bindingEngine, i18n, countryService, validationController) {
        super(eventBus);
        this.bindingEngine = bindingEngine;
        this.i18n = i18n;
        this.countryService = countryService;
        this.validationController = validationController;
        this.validationController.validateTrigger = validateTrigger.manual;
        this.loadCountries();
    }
github w3tecch / aurelia-typescript-boilerplate / src / app / modules / welcome / welcome.vm.ts View on Github external
constructor(
    private appConfigService: AppConfigService,
    private languageService: LanguageService,
    private dialogService: DialogService,
    validationControllerFactory: ValidationControllerFactory,
    private genericDialogService: GenericDialogService,
  ) {
		this.logger = LogManager.getLogger('Welcome VM');
		this.logger.info('appConfig => name:', this.appConfigService.getName());
		this.logger.info('appConfig => version:', this.appConfigService.getVersion());
		this.logger.info('appConfig => env:', this.appConfigService.getEnv());
		this.logger.info('appConfig => platform:', this.appConfigService.getPlatform());
		this.logger.info('appConfig => config:', this.appConfigService.getConfig());

    this.vController = validationControllerFactory.createForCurrentScope();
    this.vController.validateTrigger = validateTrigger.manual;
	}