Skip to content

Input type phone not working inside custom dialog #384

@parthitechnotion

Description

@parthitechnotion

Place below code inside custom dialog layout and try to enter any number it will not allow to enter any number from 0 - 9 range

<com.rengwuxian.materialedittext.MaterialEditText
android:id="@+id/edtContactPersonMobile"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:hint="@string/contact_person_mobile"
android:imeOptions="actionNext"
android:inputType="phone"
android:maxLength="13"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:textSize="16sp"
app:met_baseColor="@android:color/black"
app:met_floatingLabel="highlight"
app:met_floatingLabelText="@string/contact_person_mobile"
app:met_floatingLabelTextSize="10sp"
app:met_hideUnderline="false"
app:met_primaryColor="?colorAccent" />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions