Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] The input value of base-input is cleared. #41

Closed
mineoni opened this issue May 26, 2021 · 2 comments
Closed

[Bug] The input value of base-input is cleared. #41

mineoni opened this issue May 26, 2021 · 2 comments

Comments

@mineoni
Copy link

mineoni commented May 26, 2021

Version

2.0.0

Reproduction link

https://codepen.io/bussinesOnizuka/pen/GRWEzEM

Operating System

Windows10

Device

PC

Browser & Version

Chrome 90.0.4430.212

Steps to reproduce

  1. Here is the code
    <base-input name="testinput" />

  2. The following script
    testinput.value = "aaaa"

3.The value is set in the form on the screen and can get it from script.
However, when I focus on it, the value is cleared.

What is expected?

The value should continue to be held in the input form.

What is actually happening?

The value disappears when focusing.


Solution

Additional comments

@TucciAlessandro
Copy link

It seems i have a sort of the same problem with base-input, v-model doesn't work on it. why?

@sajadevo
Copy link
Collaborator

Hi there,

We've updated the product to v3 which comes with a new look and a new base structure for more reusable components.

All the best
Sajad

Web Developer @ Creative-Tim.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants