? ?
avatar TheWhykiki
TheWhykiki
9 Sep 2020

Steps to reproduce the issue

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.

Expected result

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.

Actual result

No header field, no good possibility to leave the value of this field empty or set a default value for start.

System information (as much as possible)

screen shot 2020-09-09 at 19 34 32

Additional comments

It would only need a few lines of code to add this feature in the PHP and XML

screen shot 2020-09-09 at 19 34 32

avatar TheWhykiki TheWhykiki - open - 9 Sep 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 Sep 2020
avatar SharkyKZ
SharkyKZ - comment - 9 Sep 2020

Until someone decides to implement this you can use UNION to select an empty value.

avatar SharkyKZ SharkyKZ - change - 12 Oct 2020
Labels Added: ?
avatar SharkyKZ SharkyKZ - labeled - 12 Oct 2020
avatar rdeutz rdeutz - change - 18 Dec 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-12-18 10:37:58
Closed_By rdeutz
avatar rdeutz rdeutz - close - 18 Dec 2020

Add a Comment

Login with GitHub to post a comment