?
Referenced as Duplicate of: # 13929
avatar coolcat-creations
coolcat-creations
4 Mar 2017

image

Expected result

In the list field i wrote the text "Please select"
Expected Behaviour for a list field would be to have this in the Dropdown as a select text.

But in com_contacts, where i edit this field the first value is shown as default instead of a placeholder.

image

The problem is also that this field is saved with the first value even if the user makes no selection ...

avatar coolcat-creations coolcat-creations - open - 4 Mar 2017
avatar joomla-cms-bot joomla-cms-bot - change - 4 Mar 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Mar 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Mar 2017
Category com_fields
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 4 Apr 2017

on which Field-Type you get this issue?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14335.

avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Apr 2017
Priority Medium Low
Status New Information Required
avatar coolcat-creations
coolcat-creations - comment - 4 Apr 2017

On all "list" fields.

Sorry - i try to reply to all the issues you mentioned me, but i´m currently not so good available...

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 4 Apr 2017

issue confirmed, test on Field-Type List (list).

System information

Joomla! 3.7.0-beta4 (nightly Build)
macOS Sierra, 10.12.4
Firefox 52 (64-bit)

MAMP 4.1.1

  • PHP 7.0.15
  • MySQLi 5.6.35
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Apr 2017
Priority Low Medium
Status Information Required Confirmed
avatar coolcat-creations
coolcat-creations - comment - 18 May 2017

This is still happening and the first entry of the dropdown is saved even if the user did not select anything.

avatar Bakual
Bakual - comment - 18 May 2017

The list field doesn't support placeholders. You need to add your "Please Select" as an entry of the list itself.

@laoneo Cann we remove the placeholder parameter for list views? I lost track of what we can and cannot override by now :)

avatar laoneo
laoneo - comment - 18 May 2017

@Bakual did you had a look, is the list field even using the placeholder?

@coolcat-creations is it not possible to just create an empty list entry as first one? The you have the empty first selection.

avatar Bakual
Bakual - comment - 18 May 2017

did you had a look, is the list field even using the placeholder?

I haven't looked at the formfield itself, but I doubt it does support a placeholder as it's not a valid attribute in HTML5 (and doesn't make sense in that context). But I may be wrong of course ?

avatar brianteeman
brianteeman - comment - 20 Aug 2017

Placeholder is not a valid attributed for a list field (and probably many others)

Do we have a method to remove a field from the options?

If not then it might be better to remove it from the options globally and just add it to the basic params for each field type that supports it

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Oct 2017
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2017-10-03 16:19:17
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 3 Oct 2017
Closed_Date 2017-10-03 16:19:17 2017-10-03 16:19:18
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 3 Oct 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 3 Oct 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Oct 2017

closed as having Pull Request #18212


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14335.

Add a Comment

Login with GitHub to post a comment