Giter VIP home page Giter VIP logo

material-steppers's People

Contributors

bill209 avatar eberlitz avatar loxos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

material-steppers's Issues

md-step-actions on page

when the content section of a step is long it runs off the page and thus pushes the md-step-actions off the page, requiring the user to scroll to get to them. Is there a way in css to ensure that the content only stretches to the size available and also accounting for the md-step-actions space requirements?

thanks

Add a method to get the current Step

A method to retrieve the current step will be useful.
For exemple, if you want to have a stepper inside a md-dialog and be able to manage by yourself the action buttons in a md-dialog-actions

Input inside stepper

Hi,

I try to put an input inside a stepper, but I can't link the ng-model in my controller. And you don't seem to link it to somethng in the demo. Does it work? And if yes, how do we access it?

Thxs!

Flicker on switching steps

When I switch between steps, there is a flicker and also the content from the previous step appears for a brief moment in the new step. Is there any way to avoid this and also is there a way to bring transition on switching between the steps? And the issue is more obvious in IE.

Improve optional settings

To set an step as optional we have to add md-optional="any text" to the step directive. It make difficult making steps dynamically. I suggest to define optional steps as follow:

<md-step md-optional="{expression}" md-optional-text="Optional">

By this pattern we could dynamically define steps as optional. If expression is true step is optional and text could be show for it.

Add `md-selected` property

It would be useful if you can bind md-selected-property, similar to md-tabs. This would make the goto-method irrelevant and the user would not have to track by themselves on which step they currently are, because they can bind the index to md-selected

Problem with ng-repeat and a final step

i am trying to use your usefull component but i have a problem. My steps are dynamically created with ng-repeat. After this section i have a fix step (the confirm step). The problem is that the confirm step is rendered as the first step instead of the last step...

Could you help me ?

Sorry for my english :)
Best regards

Unable to register a component with $mdStepper() service

I guess it is related to versions of libraries, please confirm or tell me what i'm doing wrong:
Angular: 1.6.4
Angular Material: 1.1.4

I just copied your HTML demo and in the JS file:
const steppers = $mdStepper('demo-stepper');

Console error:
No instance found for handle demo-stepper

When printing out "steppers" it returns null.

Can you please mention minimum / maximum dependencies versions?
Thanks!

IE11 steps after 2nd not being rendered if the 2nd has custom html tag

Not rendering steps after the 2nd in IE11, if 2nd has a custom html tag e.g. '<custom-control-tag/>'
For eg.
<md-stepper id="stepper-wizard"> <md-step md-label="A"> <md-step-actions> </md-step-actions> </md-step> <md-step md-label="B"> <md-step-actions> <custom-control-tag/> </md-step-actions> </md-step> <md-step md-label="C"> <md-step-actions> </md-step-actions> </md-step> </md-stepper>

The above code would only render Step1 - A & Step2 - B. The Step3 - C could not be rendered.
If custom control tag is removed from B and placed in A or C it will render correctly.

Note: A tag similar to <custom-control-tag/>, which is actually angular component tag is used in my project.

Syntax error, unrecognized expression: <div class="md-step-body-overlay"></div>

Hi

I tried to use your stepper by downloading the zip file and including the non-minified versions in my page. However, I get this error:

                    var overlay = angular.element("\n                            <div class=\"md-step-body-overlay\"></div>\n                            <div class=\"md-step-body-loading\">\n                                <md-progress-circular md-mode=\"indeterminate\"></md-progress-circular>\n                            </div>\n                        ");

It happens in your js file, line 219 (stack trace => js file line 230).

What might be wrong? I have not changed anything.

navigation from step to another using Id or another Attribute without using step index

Hello guys, i'm trying to see if there is a way to navigate from step to another step using a static attribute like name or Id and not the index of the step because if i add a step all my steps will get there indexes changes, so i must update all of them which is not a good way of programing. is there a way to navigate from a step to another without using indexes but the Id which is a static term.
i want my steps to have always the same id even if i add before or after them a new step. can someone help me with an example ?? thank you guys

No refresh after removing a step

Hello.
I discovered a problem with your component.
I have a collection of steps with a binding on your component (<md-step ng-repeat="step in steps"...)
I try to clear my collection ($scope.steps.splice(0, $scope.steps.length) but steps does not disappear :/
Coul you help me please ?

thanks :)

Dynamic steps

In my scenario, the user should see a step if checks a radio button.
Is this possible?

How I disable a step?

It is that in linear mode the following steps are disabled , but the tabs do not work when you want to go back.

Is there a Typescript definition file?

To use the component in a project written with Typescript, I'd like to know if there's a definition file somewhere, here, on DefinitivelyTyped or Typings registry?

Doesn't work with Angular 1.4.9

Hi,

Congratulations for the great work.
Just want to suggest to include a minimum version of angular in READ.ME to avoid problems
I've been chasing ghosts during several hours to find out that steppers would work on 1.4.9

Thanks

Cannot instantiate the module in Angular 1.5 with ES6

I'm using Angular 1.5, ES6 with Babel and Webpack.

I have been able to add other modules without a problem but for some reason I cannot add material-steppers.

Here is the code in my app.js where I add the module:

'use strict';

import angular from 'angular';
import ngAnimate from 'angular-animate';
import ngCookies from 'angular-cookies';
import ngResource from 'angular-resource';
import ngSanitize from 'angular-sanitize';
import uiRouter from 'angular-ui-router';

import ngMessages from 'angular-messages';
import ngMaterial from 'angular-material';
import mdSteppers from 'material-steppers';

import {
  routeConfig
} from './app.config';

import navbar from '../components/navbar/navbar.component';
import footer from '../components/footer/footer.component';
import main from './main/main.component';
import constants from './app.constants';
import util from '../components/util/util.module';

import './app.scss';

angular.module('hpeSecurityApp', [ngCookies, ngResource, mdSteppers,
	ngSanitize, uiRouter, ngAnimate, ngMessages, ngMaterial, constants, util,
	navbar, footer, main
])
  .config(routeConfig);

angular.element(document)
  .ready(() => {
    angular.bootstrap(document, ['hpeSecurityApp'], {
      strictDi: true
    });
  });

When I try to run my app, I get this error in the browser console:

Failed to instantiate module hpeSecurityApp due to:
Error: [$injector:modulerr] Failed to instantiate module {} due to:
Error: [ng:areq] Argument 'module' is not a function, got Object

From what I understand, the value of mdStepper is a blank object. Am I doing something wrong? Does this module even work this way or will it not work with the import keyword?

dynamic steps

@eberlitz is there a way to do a standard ng-show/ng-hide for steps that are contingent on selection by the user... essentially dynamic steps that using a static HTML page... i cant use an ng-repeat with current code set? I noticed that ng-show actually does work to hide and show the step content but does not actually effect the step header...

thanks

update bower

Still playing with the project. You're missing a dependency in bower. Currently solved with overrides:

 "material-steppers": {
      "main": [
          "dist/material-steppers.min.js",
          "dist/material-steppers.css"
      ]
    }

Ideally the non minified versions would be better but when i try using the non minified version it looks for another tpl file.

Keep the proper mdl-stepper reference

Hi,

Congrats for doing a good job here.

Angular support is a feature request on our mdl-stepper project.

Is visible that in some parts material-steppers is inspired on mdl-stepper and this is a really nice thing. What bothers me is that also some parts of your repository is like a copy and paste without proper reference to the original author. Something like:

MDL-Stepper

method-table-2

material-steppers

method-table

The react-mdl-stepper is a project example that was inspired by the mdl-stepper and quoted us in his README.md.

You can give the reference of mdl-stepper?

Thanks.

Not being found on bower.

When i try to bower update this component getting this error
bower ENOTFOUND Package material-steppers not found

FLEX

do you happen to know why the steppers do not respond to flex? For instance, if i place the steppers in a

it has no effect.... I was wanting to place the steppers in a div that centers it in the page... for an initialize sign up for our application...

aaron

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.