Commit e4fa748a authored by Carsten  Rose's avatar Carsten Rose

Refs #9528: Add Keyword FE.param.clearMe. Still broken: button not rendered.

parent 9a7f03f9
Pipeline #3032 passed with stages
in 3 minutes and 25 seconds
......@@ -1313,6 +1313,10 @@ abstract class AbstractBuildForm {
$class = 'form-control';
$elementCharacterCount = '';
if (isset($formElement[FE_INPUT_CLEAR_ME])) {
$class .= ' qfq-clear-me';
}
$typeAheadUrlParam = $this->typeAheadBuildParam($formElement);
if ($typeAheadUrlParam != '') {
......
......@@ -1248,6 +1248,7 @@ const FE_INPUT_EXTRA_BUTTON_INFO = 'extraButtonInfo';
const FE_INPUT_EXTRA_BUTTON_INFO_CLASS = SYSTEM_EXTRA_BUTTON_INFO_CLASS;
const FE_INPUT_EXTRA_BUTTON_INFO_MIN_WIDTH = 'extraButtonMinWidth';
const FE_INPUT_EXTRA_BUTTON_INFO_MIN_WIDTH_DEFAULT = '250';
const FE_INPUT_CLEAR_ME = 'clearMe';
const FE_INPUT_AUTOCOMPLETE = 'autocomplete';
const FE_TMP_EXTRA_BUTTON_HTML = '_extraButtonHtml'; // will be filled on the fly during building extrabutton
const FE_CHECKBOX_CHECKED = 'checked';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment