sensenet
sensenet copied to clipboard
Currency format's value in the client schema
There's a property on the Currency FieldSetting names 'Format' that contains the culture like this 'en-US'. It will be nice if in the generated schema on the client the value of this Format will contain the explicit currency symbol (e.g. $ or €). The list of cultures and currencys already exist on the backend, because there was a dropdown for the format on the old ui:

The frontend will only use this to autogenerate forms, so there's no need for any other things now just the currency symbol.
I can do this.
@herflis From where can I view this drop-down list please?
@herflis I can work on this. But I will need to know in which file do we have this setting in the frontend?
Format-ba kerül bele a CultureInfo Name:
<Field name="MyRevenue" type="Currency"><DisplayName>My Revenue</DisplayName><Configuration><MinValue>0</MinValue><MaxValue>0</MaxValue><Format>en-US</Format><Digits>0</Digits></Configuration></Field>