Nebular: Disable step click and just work with prev and next buttons

Created on 14 Oct 2018  路  3Comments  路  Source: akveo/nebular

Issue type

I'm submitting a ... (check one with "x")

  • [ ] bug report
  • [x ] feature request

Issue description

Current behavior:
Hello, i was wondering if there is a way to disable the click on the stepper steps and just change between steps with the buttons "prev" or next.

Expected behavior:

Steps to reproduce:

Related code:

insert short code snippets here

Other information:

npm, node, OS, Browser

<!--
Node, npm: `node --version` and `npm --version`
OS: Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
Browser: Chrome/Safari/Firefox/etc?
-->

Angular, Nebular

<!--
Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder.
-->
nice to have enhancement theme

Most helpful comment

Would love to have this added. I have a pretty complex sequence of forms and events that would definitely need to have more control over when and where things get submitted.

Letting us hook into the (click) event on a nbStep would let us manually overide the default behaviour. This would solve the problem and provide much needed flexibility in the long run.

Otherwise adding a disabled directive to the nbStep would also be great.

Just a couple ideas. Anyway, thanks for the great work as always

All 3 comments

Would love to have this added. I have a pretty complex sequence of forms and events that would definitely need to have more control over when and where things get submitted.

Letting us hook into the (click) event on a nbStep would let us manually overide the default behaviour. This would solve the problem and provide much needed flexibility in the long run.

Otherwise adding a disabled directive to the nbStep would also be great.

Just a couple ideas. Anyway, thanks for the great work as always

+1

I would love to have this feature added.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

obarazan picture obarazan  路  3Comments

batousik picture batousik  路  4Comments

henry74 picture henry74  路  3Comments

bestasholli picture bestasholli  路  3Comments

suku-h picture suku-h  路  3Comments