Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to disable the input buttons? #49

Open
oklimberg opened this issue Feb 5, 2024 · 1 comment
Open

Possibility to disable the input buttons? #49

oklimberg opened this issue Feb 5, 2024 · 1 comment

Comments

@oklimberg
Copy link

Hi, is there currently a possibility to disable the input buttons?

@pmatatias
Copy link
Owner

Hi @oklimberg , thank you for using the package.
Unfortunatly, current version do not provide to disable the buttons. But it will automatically disable when reach maximum value or minimum value.

maybe if you are in hurry, you may remove(display nothing) the button from the widget.

InputQty(
    decoration: const QtyDecorationProps(
          plusBtn: SizedBox(), minusBtn: SizedBox(),
     ),
    initVal: 4,
    onQtyChanged: (value) {},
),

This will be new feature in next version. I need times to develop this feature. or anyone who read this comment, feel free to raise PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants