Problem/Motivation

Now adding a datalist item to a form renders the text input field and the associated datalist in html. We need the ability to render only a input field and associate a seperate datalist to it. That way rendering multiple inputs can draw their data from a single datalist item.

Steps to reproduce

-

Proposed resolution

use #input=false to exclude the input field (renders only the datalist html tag)
use #list=
to attach a specific list item (renders only the input tag)

Remaining tasks

-

User interface changes

-

API changes

-

Data model changes

-

Issue fork datalist-3611123

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kriboogh created an issue. See original summary.

kriboogh changed the visibility of the branch 3611123-add-option-to to hidden.

kriboogh changed the visibility of the branch 3611123-add-option-to to active.

kriboogh changed the visibility of the branch 3611123-add-option-to to active.

kriboogh’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

kriboogh’s picture

Status: Fixed » Closed (fixed)