Add custom field type SQL. There is no possibility to set a header option to the dropdown field. So I'm also not able to leave the value of the field empty if needed.
A new field type Text in der Fields XML, maybe named "Header" where we can leave a String or maybe also a JText String.
If field is filled a header attribute is set for the SQL-Field, if empty there will be no header and the first result from the SQL-Quer will be shown.
No header field, no good possibility to leave the value of this field empty or set a default value for start.
It would only need a few lines of code to add this feature in the PHP and XML
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-12-18 10:37:58 |
Closed_By | ⇒ | rdeutz |
Until someone decides to implement this you can use UNION to select an empty value.