Activity › Forums › Salesforce® Discussions › What is the Difference between Lightning tags and Force tags?
-
What is the Difference between Lightning tags and Force tags?
Posted by Hariom Chaudhary on September 25, 2019 at 8:15 AMWhat is the Difference between Lightning tags and Force tags?
Deepak replied 6 years, 8 months ago 3 Members · 2 Replies -
2 Replies
-
Hi Hariom,
A lightning tag has inbuilt SLDS we do not need to put extra effort to improve the look and feel, We can handle bad input and provide user validations. The lightning namespace components are optimized for common use cases. Beyond being equipped with the Lightning Design System styling, they handle accessibility, real-time interaction, and enhanced error messages.
force tags works as apex:inputField tags work on the VF page. For example, if we are using forceInputField for the picklist field then it will show the input in picklist format with the respected values. It also supports the lookup/master input fields
- [adinserter block='9']
-
The lightning namespace components are optimized for common use cases. Beyond being equipped with the Lightning Design System styling, they handle accessibility, real-time interaction, and enhanced error messages. force tags works as apex:inputField tags work on the VF page. For example, if we are using forceInputField for the picklist field then it will show the input in picklist format with the respected values. It also supports the lookup/master input fields. A lightning tag has inbuilt SLDS we do not need to put extra effort to improve the look and feel, We can handle bad input and provide user validations.
Log In to reply.