OptimalBPM / angular-schema-form-dynamic-select

AngularStrap and AngularUI dynamic select implementation(static/sync/async/http, filters) for Angular Schema Form
MIT License
55 stars 45 forks source link

filters on uiselect type not working- perfectly working for strapselect #101

Closed Krishna4 closed 7 years ago

Krishna4 commented 7 years ago
{
        "key" : "field1",
        "type" : "uiselect",
        "placeholder" : "SectorSkillCouncil",
        "onChange": "valueChanged(form.key,modelValue)",
        "options" : {
            "multiple" : "false",
            "callback" : "sscs"
        }
    }, {
        "key" : "field2",
        "type" : "uiselect",
        "placeholder" : "JobRole",
        "onChange": "valueChanged(form.key,modelValue)",
        "options" : {
            "multiple" : "false",
            "callback" : "job_roles",
            "filterTriggers" : [ "model.field1" ],
            "filter" : "model.field1.toString()==item.category.toString()"
        }

The above is not working, If I change type to strapselect its working fine

nicklasb commented 7 years ago

The support for UI-select is partial, it is possible that the filters do not work properly for UI-select: https://github.com/OptimalBPM/angular-schema-form-dynamic-select#ui-select

nicklasb commented 7 years ago

Closing this now, please re-open if you do not feel the question has been answered sufficiently.