cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
440
Views
0
Helpful
0
Replies

tag select binding to model

banikm.pt
Level 1
Level 1

Hi,

how to bind select tag with model?

This does not work:

{

    tag: 'select',

    value: '{#model.selectedItem}',

    content: [

        {

            tag: 'option',

            content: 'item_1',

            props: {

                value: 'item_1',

            }

        },

        {

            tag: 'option',

            content: 'item_2',

            props: {

                value: 'item_2',

            }

        },

        {

            tag: 'option',

            content: 'item_3',

            props: {

                value: 'item_3',

            }

        },

    ],

}

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: