-
Bug
-
Resolution: Fixed
-
Neutral
-
6.2, 6.2.1
-
None
-
-
Empty show more show less
-
Maintenance 16, Maintenance 17, UI FW 7, UI FW 8
-
5
Timebox: Find out via support tickets and other investigation which types of default values are problematic other than the example given in the last paragraph here. 5 SP
In M5Â fields have the ability to support default values (optional property defaultValue), in order to present users with some predefined choices. It was assumed that the value was a String.
This property is still in the new field definition and now accepts a generic argument. Back in the day, a possible implementation was attempted, e.g. in the case of JCR, by specifying a node name (the configuration is commented out and still visible at contacts-v8.yaml). This no longer works as ItemToLinkConverter at JcrSelectFieldSupport tries to retrieve the model (a JCR Node) by uuid. However, when a defaultValue is provided as a node name the converter throws an exception (I assume that using uuid as default values would be most inconvenient for users).
Dev notes:
- see Julian's comment below for reproducible example
- is causing
-
MGNLUI-6119 defaultValue in M5 checkbox dialog definitions does not work
- Closed
- is cloned by
-
MGNLUI-6183 defaultValue in m5 dialog shown but not saved
- Closed
- is related to
-
MGNLUI-6008 ContentType Model: "type: asset" does not work
- Closed
-
MGNLUI-6627 defaultValue not working for fields inside a switchable
- Closed
- relates to
-
MGNLUI-4171 defaultValue is ignored when field is readOnly
- Closed
-
MGNLUI-5524 Default field values in new framework
- Closed
-
MGNLUI-5532 Issue with nullRepresentation vs default value in FieldBinders
- Closed
-
MGNLUI-5791 Dialog UX pain-points 6.2
- Closed
-
MGNLUI-4272 DateField: Also allow to set a 'defaultTime' beside 'defaultValue'.
- Open
-
MGNLUI-3876 Translation of defaultValues in dialogs
- Closed
-
MGNLUI-5958 defaultValue: now for date field is not working
- Closed
- supersedes
-
PAGES-280 DefaultValue does not work for page properties (new UI framework)
- Closed
- mentioned in
-
Page Loading...