fix(textinput): displaying empty input value if value is undefined or null (#936)

#935
This commit is contained in:
István Pató 2021-12-28 21:59:20 +01:00 committed by GitHub
commit a1377f07de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -163,7 +163,7 @@
name="{name}"
placeholder="{placeholder}"
type="{type}"
value="{value}"
value="{value ?? ''}"
required="{required}"
readonly="{readonly}"
class:bx--text-input="{true}"