Skip to content

How to set max input value? #522

@codeworriors45

Description

@codeworriors45

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,
    };

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