ProgressNS / nativescript-ui-feedback

This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115 stars 21 forks source link

Deselect a selected RadDataForm List option via Code #1421

Open emperorjm opened 4 years ago

emperorjm commented 4 years ago

I want to be able to deselect the select list option select by the user via code when some other list is changed. I have been searching for a solution but there is nothing available.

The list is created as follows:

The commit method is as follows:

onPropertyCommit(data) { let dataForm = data.object; let property = dataForm.getPropertyByName(data.propertyName);

            if (data.propertyName == "currency") {
                // Deselect current selected bank
            }
        },