My options dropdown has a boolean value in this Formly field. Whenever the value is false, this causes the placeholder and the options label to be overlayed over each other.
I don't have this issues with any of my other formly items, just ones with the value of false. Is there a solution for this?
Edit: I may be having trouble uploading photos, but I found another example of this error here: https://stackblitz.com/edit/angular-formly-demo The only difference is I'm not using Material
{
className: 'dropdown',
key: 'emergencyActionPlan',
id: 'emergencyActionPlan',
type: 'dropdown',
templateOptions: {
placeholder: 'Emergency Action Plan',
required: true,
options: [
{ value: true, label: 'Yes' },
{ value: false, label: 'No' }
],
labelProp: 'label',
valueProp: 'value'
}
}
types: [ {name: 'input', component: FormlyFieldInput} ],
from the module.class="{{ !formControl.value && formContro.value !== false ? 'p-filled' : '' }}"