Skip to content

fields that become visible do not follow 'required' criteria unless interacted with #544

@rublev

Description

@rublev
  • I'm submitting a ...
    • bug report
  • Do you want to request a feature or report a bug?

bug

  • What is the current behavior?

field1 and field2 should have red required error styles on visibility being triggered. this is because they are required and the submit button shouldn't light up only when 'employed' is selected, but if all 3 fields have values

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

https://jsfiddle.net/wntxo4h5/

  • What is the expected behavior?

red error styles applied to field1 and field2 + the submit button not being enabled

  • What is the motivation / use case for changing the behavior?

needing all fields to be required when marked required and generating errors if not filled out

  • Please tell us about your environment:

2.3.2 vue form gen
chrome mac Version 70.0.3538.77 (Official Build) (64-bit)
language: es6 js

  • other:

love this library, incredible work by everyone

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions