saasufy-components 3.32.0 → 3.33.0

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 -0
  2. package/package.json +1 -1
package/model-input.js CHANGED
@@ -323,6 +323,7 @@ class ModelInput extends SocketConsumer {
323
323
  let debounce = debouncer();
324
324
 
325
325
  let onInputChange = (event) => {
326
+ inputElement.classList.remove(successStyleClass);
326
327
  debounce(async () => {
327
328
  if (event.target.value === String(model.value[fieldName] || '')) return;
328
329
 
@@ -381,6 +382,7 @@ class ModelInput extends SocketConsumer {
381
382
  let onInputKeyUp;
382
383
  if (inputElement.type !== 'checkbox' && inputElement.type !== 'select') {
383
384
  onInputKeyUp = async (event) => {
385
+ inputElement.classList.remove(successStyleClass);
384
386
  debounce(async () => {
385
387
  if (event.target.value === String(model.value[fieldName] || '')) return;
386
388
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saasufy-components",
3
- "version": "3.32.0",
3
+ "version": "3.33.0",
4
4
  "description": "Components for Saasufy.",
5
5
  "main": "index.js",
6
6
  "scripts": {