jmix-projects / jmix-ui

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

Table component's attribute `editable` should be displayed in XML if `editable = true` #691

Closed Fedoseew closed 2 years ago

Fedoseew commented 2 years ago

Environment:

Jmix version: 1.0.3

Jmix Studio plugin version: 1.1.SNAPSHOT3583-212

IntelliJ version: IntelliJ IDEA 2021.2.2 (Community Edition)

TC:

Create Jmix project Open UserBrowse descriptor Set cursor to tag -> Look at the Component Inspector Scroll attributes and find editable AR:

checkbox looks like activated by default: image but in runtime table is not editable

ER:

If this checkbox is activated in XML should be entry: image so by default the checkbox should be deactivated

OR

the checkbox should have three states:

activated - attribute editable=true is displayed in XML deactivated - attribute editable=false is displayed in XML default - no attribute is displayed in XML and by default the checkbox should have default value