Questions tagged [lightninginput]
The lightninginput tag has no usage guidance.
9
questions
8
votes
4answers
22k views
Lightning:input type=“date”: how to change the date fomat - Summer'18
I'm trying to change date format of this component but I dont find any attribute (like ui:inputDate has) to change the date format.
<lightning:input type="date" name="input8" label="Dates" value="...
2
votes
1answer
3k views
lightning:input vertical alignment in table cell
Hi,
I want to create a table in my lightning component. I created 2 lightning:input fields and want to change the vertical alignment to "middle" but it does not work.
I tried to do the following:
&...
14
votes
1answer
473 views
Cannot read property '$$OwnerKey$$' of null
I have a Visualforce Lightning Out page that's rendering some <lightning:input type="date"> elements. Since the Winter '19 release in the dev sandbox I'm working in, whenever I select a date ...
7
votes
2answers
7k views
Lightning:Input - Hide (Reset) Field Level Error message Enabled by using showHelpMessageIfInvalid()
Have few Lightning:Input and Lightning:Select components in My Component A.
All the fields are having Required attribute as 'true'.
Once fields are validated, Field level error (help) messages appear ...
6
votes
2answers
938 views
Did they break lightning:input with Summer'18?
I'm aware that it's still beta, but I didn't expect them to break it for older api versions :/
<aura:application extends="force:slds">
<aura:attribute name="myNumber" type="Decimal" ...
6
votes
1answer
4k views
How to set currency code to <lightning:input type=“number” formatter=“currency”>
I am developing a custom currency field with lightning:input type="number" formatter="currency" component:
<lightning:input type="number" formatter="currency" value="100" step="1"/>
I have ...
4
votes
2answers
5k views
Lightning:input type=“file” change the “Upload Files” text
I would like to change the text and the style of the "Upload Files" in the lightning:input. The style as far as I understand I would have to overwrite the slds class, but what about the text?
1
vote
2answers
3k views
<lightning:input variant=“label-hidden”> input does not take whole parent width
when I use :
<aura:application extends="force:slds" >
<div>
<lightning:input type="text" label="myLabel" name="withLabel" value="withLabel" />
</div>
</aura:...
0
votes
1answer
478 views
Action failed: c:DateValidation$controller$doAction [inputCmp.showHelpMessageIfInvalid is not a function]
I trying to validate ui:inputDate along with lightning:input of type Date. But I'm getting the error as
Action failed: c:DateValidation$controller$doAction [inputCmp.showHelpMessageIfInvalid is ...