Hi All,
been trying to get a datalist to work with a type text form, do anyone have
any tips?

Tried a different number of approaches but no luck example below

<code>

$this->add(array(
            'name' => 'theme',
            'type' => 'text',
            'attributes' => array(
                'list' => 'themes',
            ),
            'options' => array(
                'label' => 'Theme',
                'datalist id' => 'themes',
                'options' =>array(
                    'default' => 'Default',
                    'beige' => 'Beige',
                )
            ),
        ));

</code>



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Datalist-in-zf2-forms-tp4659652.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to