9 Commits

Author SHA1 Message Date
7234bfb14e 🤖 Automatic code style fixes 2023-09-13 09:45:56 +00:00
0549dcc5bc PHP code sniffer autofixes 2022-01-13 14:50:12 +01:00
d6d97f6064 Automatic coding style fixes 2020-04-14 14:22:27 +02:00
ee9831356b Fix multiple inputs in one label: it's invalid 🙅
Multiple inputs within a single label in invalid HTML. This bug can not
only occur in multi-fields but also in plugin-provided single fields
which may contain multiple input-fields which are then only combined by
javascript.

Thus, we provide an id which every type can assign to the edit-field
best suited. For multi-types this is usually the new-input-template.

Fixes #292
2017-06-14 10:22:36 +02:00
7b5927eabc Do not apply rawValue to raw values
This should affect #140 and hence SPR-609
2016-09-20 09:26:59 +02:00
c0230d2cff Always use raw values for editors
This is another attempt to fix #140. The valueEditor() and
multiValueEditor() now always expect raw values to be passed. The Value
class was adjusted accordingly. It now allows to set the raw value
(which is what we get from POST). If done, the Value object is treated
as a rawonly Value that will throw an exception when you try to access
value or displayvalue.
2016-08-24 11:10:37 +02:00
79d22ad4f4 Clean values in multiValueEditor, not in valueEditor
Since rawValue expects a single value it may not be able to handle
multiple concatinated values.

This caused an error for the pagetype in a multi value field with
usetitles enabled.
2016-07-27 16:50:40 +02:00
ba76620163 Use DokuWiki new autoloader for class files
No longer do we need to register our own autoloader. Namespace had to be
vendor prefixed.
2016-04-28 15:40:12 +02:00
5c36a1f658 introduced new abstract type to streamline multiedit fields 2016-03-01 16:07:01 +01:00