nativescript-filterable-listpicker
nativescript-filterable-listpicker copied to clipboard
FocusOnShow doesnt work with TextFields
If the this is called from a disable TextField's tap even the focusOnShow doesnt work property. If i switch from a TextField to a label or button it works fine.
But i use the to help with a form where there are textBoxes.
If i add a delay it works
setTimeout(() => {
const textField = viewModel.page.getViewById('filterTextField');
const r = textField.focus();
console.log(`TEST: ${textField} => ${r}`);
}, 1000);
Any change to be able to add a delay or property for delayedFocus?
Hey there, sorry I think I missed this. So you want to focus the textfield when it opens?
Adding focusOnShow="true" works great for me. (filterable-list-picker version 2.2.3, tns version 5.2.0-2018-12-14-12741 running on ios and android emulators)