+ Start a Discussion
Nagarjuna Reddy.PNagarjuna Reddy.P 

Lightning:select required

Hi,
      I am using lightning:select to make this required I am using attributes reuired = "true" and messageWhenValueMissing = "error message" but either of these attributes are not working & allowing the record to save even without giving any value.
the default value for lightning:select is --None-- is this considered as value and allowing record to save? how to solve this?
any help is greatly appreciated.
Thanks,
Devi ChandrikaDevi Chandrika (Salesforce Developers) 
Hi Nagarjuna,
Please refer below link which might help you in this
https://salesforce.stackexchange.com/questions/158573/setting-error-message-on-lightningselect/158930

Hope this helps you
If this helps kindly mark it as solved so that it may help others in future.

Thanks and Regards