balmjs / balm-ui

:diamonds: A modular and customizable UI library based on Material Design and Vue

Home Page:https://material.balmjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Textfield, after deleting the entry (by function) the counter is not reset to 0.

MarJun1988 opened this issue · comments

Development Relevant Information:

  • BalmUI version: 10.5.0
  • Browser: Firefox
  • Operating System: Mac OS X

Description:

Textfield, after deleting the entry (by function) the counter is not reset to 0.

Steps To Reproduce:

<ui-textfield
              v-model="entry.address"
              maxlength="20"
              max="20"
              minlength="3"
              min="3"
              :fullwidth="true"
              helper-text-id="helper-address"
              outlined
          >
          Address
          </ui-textfield>
          <ui-textfield-helper with-counter id="helper-address" visible> 
Address from the ....
          </ui-textfield-helper>


setup()  {

const entry = ref({
      id: null,
      name: null,
      description: null
    });

 // Eintrag wieder zurücksetzen
    const resetEntry = () => {
      entry.value.id = null;
      entry.value.address = null;
      entry.value.description = null;
    }
}

Hi @MarJun1988 , this bug has been fixed in v10.8.3

Thanks a lot :)