Do you love lightning way of componentizing things, but miss good`ol Visualforce out of box way of handling picklist input field just by using
Example usage:
<c:LIInputPicklist
class="form-control slds-input"
required="false" object="Contact"
label="{!$Label.c.Contact_Salutation}"
value="{!v.Contact.Salutation}"
field="Salutation"/>
Important Attributes
- value(String) : Variable to store/pass the inout selected
- label(String) : Label to be displayed for the picklist field
- field(String) : Api name of the picklist field
- object(String) : Name of the object
- labelClass(String): List of classes to be applied on label separated by .space.
- Class(String) : List of classes to be applied on picklist dropdown separated by space.