This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

wimalaya
wimalaya

How I can order the state for name and not for ID in this form select? And how can add required attribute?

    
    
    {{ form_select_state('state_id', countryId, stateId, {
        id: 'accountState',
        class: 'form-control',
        emptyOption: ''
    }) }}

Thanks

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.