Comments (3)
I hope the issue has been resolved in your project also. I am closing this issue because now I don't see any further action on this, feel free to log a new issue if there is any issue.
from rxweb.
I haven't released the new version. I did two things in the code and it is working as expected
- I have added ReactiveFormConfig in app.component to apply internationalization for date. Here is the code :
ReactiveFormConfig.set({
// whatever your format you want to apply in date.
"internationalization": {
"dateFormat": "mdy",
"seperator": "/"
}
});
- I have replaced your code as below :
deadlineDate: ['', [Validators.required, RxwebValidators.minDate({value:new Date("07/07/2019")})
Please refer working example on stackblitz: https://stackblitz.com/edit/rxweb-mindate-validator-angular-reactive-from?file=src%2Fapp%2Fcontact%2Fadd%2Fcontact-add.component.ts and also refer the appcomponent for default date format.
'ReactiveFormConfig' documentation is not available on rxweb.io. Sorry for this. We are working on the documentation part and try to finish ASAP.
Please let me know if you have any question.
from rxweb.
@jbeckton we have released the new version "1.4.3" with some good feature of minDate and maxDate Validator. We have provided the feature of Cross-Field Validation in both of the validator. Please refer the stackblitz example for more information.
from rxweb.
Related Issues (20)
- Stepper, headings, custom input types
- conditionalExpression in RxWebvalidators.required not checked HOT 11
- rxweb translation not working for Angular version >= 11
- Search with special characters not working as expected in Rx-Tag HOT 2
- Search result issues with Rx-Select HOT 1
- Angular 14 HOT 1
- Creating server-data-json dynamically from WEB API adding /'s that package cannot handle HOT 3
- "lessThan" and "greaterThan" validators not working correctly HOT 1
- Trying to access unsupported language by URL HOT 1
- Min or Max Length Issue HOT 1
- Warning about usage of options and async validators
- conditionalExpression for greaterThan hits twice on input change with old value
- Angular Universal
- Select dropdown value issue with Rx-Select.
- Movable columns & rows in Rx-Grid
- minTime and maxTime issues HOT 4
- RxwebValidators.numeric with isFormat: true makes values disappear from input HOT 1
- https://docs.rxweb.io/ is blank.
- Compatibility with Angular 15/16 HOT 1
- Please confirm the right way to clear RXwebvalidator and reset it
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rxweb.