Skip to content

Adds a `datalist` input field to Channel Entry management.

License

Notifications You must be signed in to change notification settings

mithra62/ee-datalist-ft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Datalist FieldType for ExpressionEngine

The Dataist FieldType allows you to add datalist input fields into your ExpressionEngine Channel Entries. It's based off the <datalist>: The HTML Data List element spec and should comply with everything laid out there.

Details

Will output an HTML input field for Channel Entries that resemble:

<input list="__my_list" type='text' name="my_list" id="my_list" value="5" />
<datalist id=__my_list">
    <option value="1">One</value>
    <option value="2">Two</value>
    <option value="3">Three</value>
    <option value="4">Four</value>
    <option value="5">Five</value>
</datalist>

Compatibility

The Datalist FieldType should work with:

Modifiers

:label

Will output the label instead of the value for the field.

Example
{my_field_name:label}

License

I don't care.

About

Adds a `datalist` input field to Channel Entry management.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published