-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More expression functions #1299
Labels
area/logic
related to logic/dynamics/expressions
kind/feature-request
New feature or request
org/ssb
Issues relevant for Statistisk sentralbyrå.
Comments
Diskutert i statusmøte med SSB i dag. De ønsker sterkt replace-funksjonen. |
|
This was referenced Jan 27, 2025
This was referenced Jan 28, 2025
Pull requests are now being merged:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/logic
related to logic/dynamics/expressions
kind/feature-request
New feature or request
org/ssb
Issues relevant for Statistisk sentralbyrå.
Description
dateIsBefore
dateIsBeforeEq
dateIsAfter
dateIsAfterEq
stringSlice
(previously named `substr here)stringIndexOf
(previously calledindexOf
/strpos
here)stringReplace
(previously calledreplace
here)upperCaseFirst
lowerCaseFirst
value
, just likecomponent
but looks up the value for this component (and also returns it even if this component is hidden)relDataModel
(just a suggestion), a function to look up a relative path in the data model. We'd have to figure out a syntax for relative data model paths, which should be possible to use in future component data model bindings as well (i.e. binding a component in a group to./FirstName
instead ofMy.Deep.Group.FirstName
)optionLabel
- A function that returns the option label for a given option value (should probably only work inside a function with defined options, and probably only something that could work on the frontend). It could probably also work without any arguments, returning the current label (works for radio/dropdown/List, but not checkboxes/multipleselect, as they have multiple options)."hidden" on individual options (mostly when specified in layout)Additional Information
The text was updated successfully, but these errors were encountered: