Skip to content

q-input / q-field error attribute don't work as boolean #17662

Open
@DavidHequet

Description

@DavidHequet

What happened?

the documentation of q-input / q-field present error property as a boolean, but if the value is different of undefined or null, the error's placeholder appear (div class="q-field__bottom")
image

What did you expect to happen?

i expected that the error placeholder don't show up when :error="falsy value"

Reproduction URL

https://codepen.io/onclebob/pen/jENNxmN

How to reproduce?

Go te reproduction link and see the space under the second input

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Components (quasar)

Platforms/Browsers

Chrome

Quasar info output

No response

Relevant log output

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions