@rivet-health/design-system 31.9.0 → 31.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4103,12 +4103,13 @@ class LegacyFormApiDirective {
4103
4103
  }
4104
4104
  detectAndBindHostComponent() {
4105
4105
  this.hostComponent =
4106
- this.rivTextField ||
4107
- this.rivNumberField ||
4108
- this.rivCurrencyField ||
4109
- this.rivPercentageField ||
4110
- this.rivAlphabeticField ||
4111
- this.rivPhoneField;
4106
+ this.rivTextField ??
4107
+ this.rivNumberField ??
4108
+ this.rivCurrencyField ??
4109
+ this.rivPercentageField ??
4110
+ this.rivAlphabeticField ??
4111
+ this.rivPhoneField ??
4112
+ null;
4112
4113
  if (!this.hostComponent) {
4113
4114
  // eslint-disable-next-line no-console
4114
4115
  console.warn('LegacyFormApi directive: No supported component found as host');