rero / ng-core

Angular library for Invenio
4 stars 12 forks source link

behaviour of the multiple select #464

Open Garfield-fr opened 2 years ago

Garfield-fr commented 2 years ago

Describe the issue When you add the "uniqueItems" option to a select type, it turns into a single menu with several values. This is not the expected behavior.

To Reproduce Steps to reproduce the behavior:

  1. Add "uniqueItems": true on jsonschema
  2. Check field form

Expected behavior When adding the "uniqueItems" option, the field must not change its shape. It must remain a simple menu. It is only at the validation level that it must behave.

Software version ng-core: 1.14.2