Comments (4)
surprised this worked, but just adding this in the retrieveFieldOptions function appears to work
case 'decimal':
let decimalOptions = {
width : this._context.mode.allocatedWidth,
label : label,
fieldDefinition : {
idDirty : false,
fieldName : techFieldName,
fieldType : type,
controlId : controlId,
fieldValue : this._parentRecordDetails.Attributes[techFieldName] ?? ""
},
disabled : isReadOnly,
//icon : "Money",
onClickResult : (fieldDefinition?: DataFieldDefinition) => {
if(dataFieldDefinitionsDetails != undefined && fieldDefinition != undefined){
dataFieldDefinitionsDetails.isDirty = true;
dataFieldDefinitionsDetails.fieldValue = Number(fieldDefinition.fieldValue);
this._dataFieldDefinitions[this._dataFieldDefinitions.indexOf(dataFieldDefinitionsDetails)] = dataFieldDefinitionsDetails;
_this._buttonsComponnent.setState({disabled : false});
}
}
};
dataFieldDefinitionsDetails = this.completeDataDefinition(dataFieldDefinitionsDetails, decimalOptions.fieldDefinition);
ReactDOM.render(React.createElement(TextFieldControl, decimalOptions), item);
break;
from pcfcontrols.
looking in the source again, it looks like this code change didn't make it into the latest version?
from pcfcontrols.
Hello @maverickandgoose83,
I'm sorry here, I didn't get notification on your previous message and since the ticket was closed the same day it was open, I didn't see it at all...
I will include this in the next release for sure.
Thanks for your help here !
from pcfcontrols.
The fix is now pushed to the release branch : #53
from pcfcontrols.
Related Issues (20)
- Quick Edit Form lookup not filterable HOT 3
- How does "Number of columns" parameter works in quick edit form? HOT 2
- Quick Edit Form Date Only is Offset HOT 6
- License HOT 3
- Never finish loading... quick edit form HOT 13
- Idea: detect duplicate... edit quick view
- PCF : Quick Edit Form not showing up in the controls field settings HOT 3
- Idea: read only field and required.... quick edit form HOT 3
- Always loading - with latest 1.4.0.0 HOT 3
- Lookup on Quick View
- Any Composite - System Required Fields Not Enforced HOT 2
- Problem with Date Only fields HOT 3
- PCF controll for anycomposite field on mobile version HOT 2
- Easy rollup - last refreshed date not in Local time HOT 1
- Easy Rollup and Currency field HOT 1
- Lookup form as "tag" which could allow usage of partylist
- Carfup - French SIRET Validator PCF HOT 3
- Idea - Multiple Lines in Any Composite Field HOT 3
- IBAN Validator - Field value not refreshing with setValue HOT 2
- unspecific error message in case of missing permissions HOT 3
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 pcfcontrols.