Comments (7)
Hi @smanyam789,
lookup fields are not supported at the moment. If you want to add them, you should modify the customInputField component, maybe using some nice component developed by other Githubbers.
For the first problem, the number fields, could you please give more details? In which sense you can't edit them, they are displayed but disabled or they are not displayed at all?
from lightning-object-creator-component.
Hi @fracarma ,
Thank you for quick response.
Yes, Lookup its showing the record Id instead of value.I will look into that.
For Number field:
I edited custom inputfieldcontroller.js and added
(type === 'INTEGER') ? 'ui:inputNumber' :
(type === 'CURRENCY') ? 'ui:inputCurrency' :
Currency fields are editable on the page while creating record but still number fields i cant able to enter values.
If i create record manually from object vales are loading into this component even at that time i can enter new value i can delete existing value.
Thanks & Regards,
Sriram.M
from lightning-object-creator-component.
Hi,
I forgot this types! Great, submit a pull request maybe ;)
Anyway, the field behaviour it's pretty strange. Can I see where you are calling the component? Just to see how you are passing the fields, maybe you are simply passing it as an output field.
from lightning-object-creator-component.
Hi @fracarma ,
Yes , I didn't changed anything else than adding these lines in the inputfieldcontroller.js . Can you please help me in calling component /Modifying the component .
After adding currency & Number , currency is working fine so i thought Number fields are also work normally.
This is the field i am adding in field set. I tried giving "type: 'inputNumber'" also.
{name : 'SMS_MO__c' , type : 'inputField'},
Thanks & Regards,
Sriram.M
from lightning-object-creator-component.
Hi @smanyam789,
this behaviour is pretty strange. I will try as soon as possible to add these field type and make some tests.
Thanks,
Francesco
from lightning-object-creator-component.
Hi @fracarma ,
Thank you, I will also try and if i get any solution i will let you know.
Thanks & Regards,
Sriram.M
from lightning-object-creator-component.
Hi @smanyam789,
I've added the inputCurrency and inputNumber. You can check that in #11.
I created two test field in contact
Everything seems working fine for me:
from lightning-object-creator-component.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightning-object-creator-component.