Skip to content

Adding disabled to form fields has no effect on valid status #4526

Open

Description

@beard7

Vuestic-ui version: 1.10.3

Description

It's pretty standard behaviour for for fields that are disabled to be ignored when validating forms. Setting disabled on Vuestic form fields only alters styling and has no effect on validation.

Reproduction

Add a VaInput or VaTextarea etc. component inside a VaForm with disabled = true and a basic required rule. IsValid will be false if the disabled input is empty.

Activity

  1. m0ksem commented on Jul 2, 2025

    @m0ksem
    Member

    We could introduce prop for VaForm like validate disabled or something like that.

    see https://vee-validate.logaretm.com/v2/guide/inferred-rules.html#disabling-inferred-rules

  2. added
    d2: easyRecomended mode for new, but mature players
    on Jul 2, 2025
  3. beard7 commented on Jul 3, 2025

    @beard7
    Author

    Yep. That would work. Maybe ignore read-only too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGSomething isn't workingd2: easyRecomended mode for new, but mature players

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions