HTMLInfoField: Support 'rawrow' in OOUI mode
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 3 Sep 2018 16:35:28 +0000 (18:35 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 3 Sep 2018 16:41:55 +0000 (18:41 +0200)
commite6eb87ae2028d9d3f9317d75cced42511ed97b9e
treec8e9422d2c663dc518f6d2feac291224d216ed85
parentc8c44f7f496e67cad37039fa7c47a09ee83c0548
HTMLInfoField: Support 'rawrow' in OOUI mode

To be compatible with OOUIHTMLForm, 'default' must be a FieldLayout
(or a subclass of FieldLayout) when using 'rawrow'.

(Technically, it works when it's a string, but that's only by chance.)

Bug: T203202
Change-Id: I571c619c32a806016b649562f5efe52ad45ef036
includes/htmlform/fields/HTMLInfoField.php