Rethink of Boolean attributes defaults and editing
- logic for setting attribute defaults is moved from native into
_hookMetadataTransformation.js
:- for 'Text', 'Document', 'Many' attributes force
allowSort = false
- for
Boolean
attributes forcedefaultValue = '0'
.
- for 'Text', 'Document', 'Many' attributes force
- metadata for attributes of type
Boolean
: removedallowNull: false
anddefaultValue
- not needed anymore -
u-auto-filed
for attributes of typeBoolean
internally useu-checkbox
instead ofel-checkbox
. It's recommended do not force internal component for Booleans usingforce-cmp="el-switch"
-u-checkbox
is good enough -
u-checkbox
andu-radio
size increased to 20px (to be the same height as el-switch); Size is defined in--u-checkbox-dim
css variable