It can not work with "support.design.widget.TextInputLayout"
Closed this issue · 4 comments
protectedMan commented
if EditText surround with TextInputLayout,like this ->
<android.support.design.widget.TextInputLayout
android:id="@+id/til_guangai_date"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<EditText
android:id="@+id/et_guangai_date"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10" />
</android.support.design.widget.TextInputLayout>
This will trigger an exception ,Exception details:
We already have an EditText, can only have one
thyrlian commented
Sorry, this library doesn't support TextInputLayout
so far. I planned to make it compatible with TextInputLayout
and its validation style, but this requires significant API changes, and I don't have any time yet. Thanks for your information.
thyrlian commented
Hi @protectedMan , I've been working on this feature last weekend, and just merged the feature branch to master. It's well unit tested, and I plan to release it soon after updating README. Thanks for your waiting and I'd be happy if you could try it out :)