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.
The problem is also that this field is saved with the first value even if the user makes no selection ...
Labels |
Added:
?
|
Category | ⇒ | com_fields |
Priority | Medium | ⇒ | Low |
Status | New | ⇒ | Information Required |
On all "list" fields.
Sorry - i try to reply to all the issues you mentioned me, but i´m currently not so good available...
issue confirmed, test on Field-Type List (list)
.
Joomla! 3.7.0-beta4 (nightly Build)
macOS Sierra, 10.12.4
Firefox 52 (64-bit)
Priority | Low | ⇒ | Medium |
Status | Information Required | ⇒ | Confirmed |
This is still happening and the first entry of the dropdown is saved even if the user did not select anything.
@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.
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
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
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-10-03 16:19:17 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_Date | 2017-10-03 16:19:17 | ⇒ | 2017-10-03 16:19:18 |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/14335
closed as having Pull Request #18212
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.