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

AlertInputOptions #26

Open
l3vick opened this issue Jan 8, 2019 · 1 comment
Open

AlertInputOptions #26

l3vick opened this issue Jan 8, 2019 · 1 comment

Comments

@l3vick
Copy link

l3vick commented Jan 8, 2019

Is there any way to create an alert with your customized input class?

  let alert = this.alertCtrl.create({
  title: 'hello',
  message:'message',
  cssClass: 'class',
  inputs: [
    {
      name: 'name',
      placeholder: 'placeholder',
      type: text**,
      pattern: "[0-9]*",
      decimal="true",
      allow-multiple-decimals="false",
      decimal-char=","**
    }
  ],

Thanks in advance.

@mrchandoo
Copy link
Owner

the plugin can only work with plain HTML controls and not with angular components/directives

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