fix(text-area): omit prop if readonly={false} #710 (#719)

Fixes #710
This commit is contained in:
Eric Liu 2021-07-03 13:42:24 -07:00 committed by GitHub
commit f9183d343b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,6 +90,7 @@
class:bx--text-area--light="{light}"
class:bx--text-area--invalid="{invalid}"
{...$$restProps}
readonly="{$$restProps.readonly === true ? true : undefined}"
on:change
on:input
on:input="{({ target }) => {