Skip to content

@MaxValue not working properly  #52

@evgenybozhko2

Description

@evgenybozhko2

Hello dear creator of this cool library tool.
At first I want say thank you about so good library and economy time developers like I'm.

But I have problem, with MaxValue anotation:

    @BindView(R.id.fuel_level_large)
    @MaxValue(value = EDIT_TEXT_MAX_VALUE, messageId = R.string.max_number_32767, order = 1)
    EditText fuelLevelLarge;

In this case, checking return false for empty editText, but there can't be more than EDIT_TEXT_MAX_VALUE, because this field is empty. How I can fix this issue, please help me.

Also please help me understand how I can change color of some elements in error popup dialog.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions