Topic: Number input label not going up when the value is set to 0 with v-model
hexasysteme priority asked 1 week ago
The label of the number type input should go up with a default value of 0
The label does not go up when the input value is set to 0 with v-model. I tried to do a parseInt on the value i'm trying to display but it doesn't change anyhting and the label is still stuck in the input.
Resources (screenshots, code snippets etc.)
You can find below the code i'm using to display the MDBInput.
<MDBCol md="fill"> <MDBInput type = "number" label = "Nombre de décimales" v-model = "currentZone.nombreDecimales" :invalidFeedback = "formMessages.messageNombreDecimales" :isValid = "formMessages.validNombreDecimales" :isValidated = "formMessages.formIsValidated" /> </MDBCol>
Hi, thanks for letting us now. We are going to work on this. I don't know if it will be usefull for you but "0" as a string is working fine. Best Regards!
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Priority
- Premium support: Yes
- Technology: MDB Vue
- MDB Version: MDB5 3.2.0
- Device: All
- Browser: Firefox
- OS: Windows 11
- Provided sample code: No
- Provided link: No