New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ngx-mat-persian-datepicker

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-mat-persian-datepicker

Simplified usage for Angular Material Datepicker component for Persian calendar

  • 0.0.4
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

NGX MAT Persian DatePicker

Simplified Angular material datepicker usage for Persian calendar

Installation

Peer Dependencies
npm install material-jalali-moment-adapter @angular/material-moment-adapter @angular/material
Library
npm install ngx-mat-persian-datepicker

Usage

The following usage demonstrate the usage within standalone components, but you can import the component into the NgModules too.

The only mandatory field is Control which is normal FormControl. And it is required due to MatFormField usage.

@Component({
  standalonde: true,
  imports: [NgxMatPersianDatepicker],
  template: `
        <ngx-mat-persian-datepicker
            [control]="formControl"
        ></ngx-mat-persian-datepicker>
    `
})
class myComponent {}

Available Fields

NameTypeUsage
idstringUnique identifier for element
labelstringThe string to display on input as placeholder
errorMessagestringThe message to show in case of error on the control
controlFormControl(From ReactiveFormModule)The FormControl that will be used to store date

Keywords

FAQs

Package last updated on 09 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc