Skip to content

RadDataForm Picker Validation Issue #1382

Open
@CatchABus

Description

@CatchABus

Tell us about the problem

In the case of RadDataForm 'Picker' entities when their options consist of keys and labels, their validators are trying to validate label instead of value. This has been tested with manual validation. Is this behaviour correct?

EDITED: Same goes for manual commit. Label is commited as value instead of key.

Which platform(s) does your issue occur on?

Platform: Android

Please provide the following version numbers that your issue occurs with:

  • Progress NativeScript UI plugin version: nativescript-ui-dataform ^6.0.0
  • CLI: 6.4.1
  • Cross-platform modules: 6.5.0
  • Runtime: 6.4.1

Please tell us how to recreate the issue in as much detail as possible.

In the case of RadDataForm 'Picker' entities when their options consist of keys and labels, their validators are trying to validate label instead of value. This has been tested with manual validation. Just try validating and commiting a form that includes a 'Picker' field consisted of keys and values using 'valuesProvider', with form manual validation and commit.

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