sensenet icon indicating copy to clipboard operation
sensenet copied to clipboard

Currency format's value in the client schema

Open herflis opened this issue 6 years ago • 4 comments

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:

image

The frontend will only use this to autogenerate forms, so there's no need for any other things now just the currency symbol.

herflis avatar Jul 03 '19 15:07 herflis

I can do this.

akshaydmc avatar Oct 07 '19 18:10 akshaydmc

@herflis From where can I view this drop-down list please?

jeremie1112 avatar Oct 11 '19 12:10 jeremie1112

@herflis I can work on this. But I will need to know in which file do we have this setting in the frontend?

HeroicHitesh avatar Oct 19 '20 06:10 HeroicHitesh

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>

marosvolgyiz avatar Jun 19 '24 09:06 marosvolgyiz