How do I remove asterisk from required field in Angular Material
By : Burak Urhan
Date : March 29 2020, 07:55 AM
hope this fix your issue Even though it looks like this feature is not yet in 1.0.5, release notes ... I looked through this commit, and this probably is what we are looking for: code :
<input md-maxlength="30" required md-no-asterisk name="description" ng-model="project.description">
|
How to mark required field with asterisk in Ext JS textfield labels
By : atiq
Date : March 29 2020, 07:55 AM
will be helpful for those in need For adding this behavior to all your fields, you can override Ext.form.field.Base, for example: code :
Ext.define('MyApp.overrides.form.field.Base', {
override: 'Ext.form.field.Base',
initLabelable: function () {
this.callParent(arguments);
if (this.fieldLabel && this.alllowBlank === false) {
this.labelSeparator += '<span class="mandatory">*</span>';
}
}
});
|
How to remove asterisk in required field and replace a custom asterisk in before place holder in angular 2+ and angular
By : bhrth
Date : March 29 2020, 07:55 AM
this will help remove "required" attribute from input; replace placeholder attribute with tag inside of mat-form-field, and try to play with styles of it;
|
Angular material: How to set required validator as optional in reactive form
By : user3573371
Date : March 29 2020, 07:55 AM
|
A required field in form must now be made optional with a new field becoming required while having an optional relations
By : shridharbee
Date : October 06 2020, 11:00 AM
|