saasufy-components 7.7.0 → 7.7.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.
Files changed (2) hide show
  1. package/model-input.js +2 -2
  2. package/package.json +1 -1
package/model-input.js CHANGED
@@ -353,7 +353,7 @@ class ModelInput extends SocketConsumer {
353
353
  let onInputChange = (event) => {
354
354
  inputElement.classList.remove(successStyleClass);
355
355
  debounce(async () => {
356
- if (event.target.value === String(model.value[fieldName] || '')) return;
356
+ if (event.target.value === String(model.value[fieldName] ?? '')) return;
357
357
  let providerTemplate = this.getAttribute('provider-template');
358
358
  try {
359
359
  if (inputElement.type === 'checkbox') {
@@ -414,7 +414,7 @@ class ModelInput extends SocketConsumer {
414
414
  inputElement.classList.remove(successStyleClass);
415
415
  if (this.hasAttribute('disable-instant-flush')) return;
416
416
  debounce(async () => {
417
- if (event.target.value === String(model.value[fieldName] || '')) return;
417
+ if (event.target.value === String(model.value[fieldName] ?? '')) return;
418
418
  let providerTemplate = this.getAttribute('provider-template');
419
419
  try {
420
420
  if (event.target.value === '') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saasufy-components",
3
- "version": "7.7.0",
3
+ "version": "7.7.1",
4
4
  "description": "Components for Saasufy.",
5
5
  "main": "index.js",
6
6
  "scripts": {