We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b38c6c3 commit 3217c1aCopy full SHA for 3217c1a
packages/field/src/LionField.js
@@ -102,11 +102,16 @@ export class LionField extends FormControlMixin(
102
}
103
104
connectedCallback() {
105
+ // TODO: Normally we put super calls on top for predictability,
106
+ // here we temporarily need to do attribute delegation before,
107
+ // so the FormatMixin uses the right value. Should be solved
108
+ // when value delegation is part of the calculation loop of
109
+ // FormatMixin
110
+ this._delegateInitialValueAttr();
111
super.connectedCallback();
112
113
this._onChange = this._onChange.bind(this);
114
this.inputElement.addEventListener('change', this._onChange);
- this._delegateInitialValueAttr();
115
this.classList.add('form-field'); // eslint-disable-line
116
117
0 commit comments