Skip to content

Conversation

gfoidl
Copy link
Contributor

@gfoidl gfoidl commented Oct 15, 2022

This wasn't updated in #214 (my fault).

If modelValue = 0 then the check

...(props.modelValue && { value: props.modelValue }),
fails, so no modelValue is set thus resulting in an empty input-form to be displayed.

This PR fixes that by explicitely checking for === 0 too.

@mrholek mrholek merged commit 8201e3e into coreui:main Oct 18, 2022
@gfoidl gfoidl deleted the form-input-0 branch October 18, 2022 17:24
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

Successfully merging this pull request may close these issues.

2 participants