| #
177d6836 |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
coding style: control flow whitespaces
|
| #
8c7c53b0 |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
codestyle adjustments: class declaration braces
|
| #
6fd0861f |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to inc/Form
|
| #
5a10fbce |
| 27-Jul-2022 |
Andreas Gohr <andi@splitbrain.org> |
Support the multiple attribute in Form selects
This should fix a problem mentioned in https://github.com/splitbrain/dokuwiki-plugin-data/pull/229#issuecomment-1196367602
Note that prefilling from $
Support the multiple attribute in Form selects
This should fix a problem mentioned in https://github.com/splitbrain/dokuwiki-plugin-data/pull/229#issuecomment-1196367602
Note that prefilling from $INPUT is still only supported for single value selects.
show more ...
|
| #
9d01c1d9 |
| 01-Jul-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
PSR-12 coding style
|
| #
64159a61 |
| 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
line lengths shortened
This makes sure all files use line lenghts shorter than 120 characters.
This is a quick fix. It might not always be the nicest change.
|
| #
7b6bf7a3 |
| 10-Feb-2017 |
Michael Grosse <grosse@cosmocode.de> |
Fix strict warnings in optgroups/dropdowns
PHP 5.6 and below throw a strict standards warning at the changed lines. An intermediate variable is introduced to avoid this warning.
PHP 7+ changes the
Fix strict warnings in optgroups/dropdowns
PHP 5.6 and below throw a strict standards warning at the changed lines. An intermediate variable is introduced to avoid this warning.
PHP 7+ changes the severity of this warning to E_NOTICE which is suppressed by DokuWiki.
This error was introduced in #1778
show more ...
|
| #
4eed441d |
| 22-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
refactor: handle default options w/ other optgroups
|
| #
9c3fca6d |
| 22-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
refactor: Rename method to better convey its purpose
|
| #
45082b9e |
| 22-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
fix: remove multi-select handling -> make PR later
We currently throw an exception with setting the multiple-attribute is attempted. If we want to implement this functionality, it might be more sens
fix: remove multi-select handling -> make PR later
We currently throw an exception with setting the multiple-attribute is attempted. If we want to implement this functionality, it might be more sensible to make an extra commit for that.
show more ...
|
| #
2bd1d2c7 |
| 22-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
fix: Make this Form method chainable as it should be
|
| #
068abb2b |
| 20-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
fix: ensure that there is only 1 selected option
Multiple selected option would not be valid HTML.
|
| #
238a072b |
| 12-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
Add support for optgroup-tags for select-fields
In more complex selects we may want to group options by some criteria. HTML has the <optgroup>-tag for that purpose.
However in Order to not duplicat
Add support for optgroup-tags for select-fields
In more complex selects we may want to group options by some criteria. HTML has the <optgroup>-tag for that purpose.
However in Order to not duplicate code, I've to move the handling of options to the OptGroup-Class completely.
Known Issues: ------------- * We may have more than one option with the same value and therefore more than one option may be marked as selected.
show more ...
|
| #
693978b1 |
| 12-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
Remove type-attr from <select> b/c it's invalid
fixes #1776
|
| #
af642354 |
| 11-May-2016 |
Michael Grosse <grosse@cosmocode.de> |
Fix resetting select-options attributes
|
| #
4d28a626 |
| 11-May-2016 |
Michael Grosse <grosse@cosmocode.de> |
Escape option-attributes and fix typo
|
| #
795955b2 |
| 11-May-2016 |
Michael Grosse <grosse@cosmocode.de> |
Make select-options in Form more configurable
Now classes and data- attributes can be added to individual options
|
| #
8638ead5 |
| 15-Apr-2016 |
Andreas Gohr <andi@splitbrain.org> |
added dropdown type to new Form system #1312
|