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

How to set max input value? #522

Open
codeworriors45 opened this issue Jul 31, 2024 · 1 comment
Open

How to set max input value? #522

codeworriors45 opened this issue Jul 31, 2024 · 1 comment

Comments

@codeworriors45
Copy link

Here I attached the code snippets of project, I am using only minutes in my project. I want to set max value of the picker to be 999 and min value to 0.

@FrancescoBorzi can you help to guide how can I set this?

<ngx-duration-picker [(value)]="timeToHome" [options]="durationPickerOptions" required></ngx-duration-picker>

durationPickerOptions : any = {
        showPreview: false,
        showNegative: false,
        showLetters: false,
        showYears: false,
        showMonths: false,
        showWeeks: false,
        showDays: false,
        showHours: false,
        showSeconds: false,
    };
@FrancescoBorzi
Copy link
Owner

sorry for my late response @codeworriors45 unfortunately I'm not actively working on this tool anymore for a long time

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

No branches or pull requests

2 participants