ng-bootstrap / ng-bootstrap/ng-bootstrap

TimePicker Set Disabled

Open
#3,917 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component: timepicker
Dominant language
TypeScript
Stars
8.2k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm using your TimePicker control, but i can't find a way to set it disabled after the initialization. it works fine on ngOnInit but not after. Impossible to update this variable.

Versions of Angular, ng-bootstrap and Bootstrap:

Angular: 9.X

ng-bootstrap: 6.1.0

Bootstrap: 4.5.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the TimePicker behavior with Angular 9, ng-bootstrap 6.1.0, and Bootstrap 4.5.0, comparing a disabled value set in ngOnInit with one changed afterward. Inspect the TimePicker control and its disabled-state API; done means the control can be disabled after initialization as well as during initialization.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, bootstrap, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.