function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rajiv KocherlaRajiv Kocherla 

Lightning based Question

Hi Friends anytime we want to create text input fields in Lightning if I do not mention type in the input field is it automatically assumed the input field is of type text. For the below example is it automatically assumed the input field as text.
Example:
<lightning:input label="Enter your Name" name="studentsname" value="!v.NameofStudent">
AbhishekAbhishek (Salesforce Developers) 
Hi Rajiv,

The below blogs might answer your query,

https://developer.salesforce.com/docs/component-library/bundle/lightning-input-field/documentation

https://developer.salesforce.com/docs/component-library/bundle/lightning:input/example

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks.