ions.selectable.isSelected());this._creatorAndSelectorViewModel.selected.subscribe(this.lifetimeManager,function(t){n.options.selectable.isSelected()!==t&&n.options.selectable.isSelected(t)});this.linkValidatableControlViewModels()},u.prototype._createLabelAndSubLabel=function(){this._attachLabelAndSubLabel({inhibitLabel:!0})},u.prototype._isRequiredAndEmpty=function(){return this._isRequired(
)&&!this._checkIfValueExists()&&!s.trim(this.options.displayText())},u.prototype._checkIfValueExists=function(){var n=this._creatorAndSelectorViewModel.value(),t=!(n===null||n===undefined);return typeof n=="string"&&(t=this._requiredValidator._validate(n)===e.ValidationState.Valid),this._hasValue(t),t},u}(u.FieldWidget);n.Widget=y}(s||(s={})),s})