jmix-projects / jmix-ui

DEPRECATED. Use https://github.com/jmix-framework/jmix
https://www.jmix.io
3 stars 7 forks source link

MultiSelectList does not set read-only state #672

Closed Flaurite closed 2 years ago

Flaurite commented 2 years ago

Description

  1. Add MultiSelectList to the screen:
    <multiSelectList id="multiSelectList"
                 optionsContainer="usersDc"
                 editable="false"/>
  2. Launch the app and open screen.

ER Values will be disabled.

AR You still able to select values.

Note The same problem with SingleSelectList. Also, need to check "required" state.


QA

  1. Check that editable feature works in the MultiSelectList;
  2. Set required and requiredMessage to the MultiSelectList and try to select some value. MultiSelectList should not be highlighted by red color when value is selected.
  3. Check 1 and 2 with SingleSelectList.
konyashkina commented 2 years ago

Tested on Jmix version: 1.1.0-SNAPSHOT Jmix Studio plugin version: 1.1.SNAPSHOT3586-212 IntelliJ version: IntelliJ IDEA 2021.2.2 (Ultimate Edition) Browsers: Firefox 93.0 Google Chrome 94.0.4606.61

MultiSelectList

SingleSelectList