The application worker driven frontend framework
MIT License
Bot releases are hidden (Show)
Published by tobiu over 1 year ago
there can be some mean float value transformations, which result in odd outputs when using the spin down & up buttons.
to resolve this, we are following this strategy (simplified) now:
Published by tobiu over 1 year ago
Published by tobiu over 1 year ago
{Boolean} submitDateObject
defaults to false
Published by tobiu over 1 year ago
Published by tobiu over 1 year ago
Published by tobiu over 1 year ago
Published by tobiu over 1 year ago
only loop over existing triggers
Published by tobiu over 1 year ago
Published by tobiu over 1 year ago
Published by tobiu over 1 year ago
Published by tobiu over 1 year ago
Published by tobiu over 1 year ago
needs a bit more testing, but looks good so far:
nsWithArrays(names, create, scope) {
names = Array.isArray(names) ? names : names.split('.');
return names.reduce((prev, current) => {
if (create && !prev[current]) {
if (current.endsWith(']')) {
return createArrayNs(true, current, prev);
}
prev[current] = {};
}
if (prev) {
if (current.endsWith(']')) {
return createArrayNs(false, current, prev);
}
return prev[current];
}
}, scope || globalThis);
}
Published by tobiu over 1 year ago
See: https://github.com/neomjs/neo/issues/4151
While the config is implemented on form.field.Base
, it can get used on any parent container as an alternative for using dots inside field names.
Published by tobiu over 1 year ago
Published by tobiu over 1 year ago
Published by tobiu over 1 year ago
Published by tobiu over 1 year ago
Published by tobiu over 1 year ago
Published by tobiu over 1 year ago
Published by tobiu over 1 year ago