Edittext-Picker icon indicating copy to clipboard operation
Edittext-Picker copied to clipboard

Mask not apply after change text

Open ABPSoft opened this issue 5 years ago • 3 comments

Hi My mask was: ####-####-####-####

But when I change this input text with programmatically, mask not apply on it.

Please fix it. Thanks

ABPSoft avatar Dec 23 '19 21:12 ABPSoft

Hi,

Are u using androidX or other support library? and kindly do share your code or some more description.

AliAzaz avatar Dec 23 '19 22:12 AliAzaz

Yes, I'm using androidX.

It's my code: <com.edittextpicker.aliazaz.EditTextPicker android:id="@+id/cardNumber" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:background="@android:color/transparent" android:hint="Card Number" android:inputType="number" android:maxLength="16" android:paddingTop="3dp" android:textAlignment="center" android:textColor="@color/baseColor" android:textColorHint="#fff" android:textDirection="ltr" android:textSize="@dimen/text_size_f" app:mask="####-####-####-####" />

my java code: cardNumber.setText("6362141086509187");

ABPSoft avatar Dec 26 '19 18:12 ABPSoft

Sorry for the late reply. It will resolve in the next release.

AliAzaz avatar Oct 15 '21 08:10 AliAzaz

Fixed in Release -v2.1.0

AliAzaz avatar Sep 26 '23 14:09 AliAzaz