Hello,
I am implementing the Open Source version into my application with the Laravel Framework. I am stuck with the File component.
As Laravel expects a valid CSRF-token for every request done within the application, I have to pass a CSRF-token in the headers with the request. Now I get an error in the component when I upload a file: "r.message.replace is not a function"
Can someone help me out?
Hello,
I'm trying to implement custom validations, mainly I need to connect 2-4 fields together in order for at least one to be required. I thought I can catch if other components are valid or not and make the others valid if one of them is valid. Couldn't find the property for that. Would be thankful if you could give me the right path
Thanks
https://timisenco2015.github.io/formulator.github.com/data/{{ row.country.label }}.json
}, ...extend)
}
Hi I want to disable a nested radio control, but I want to do it from a parent form, as the control is reused across different forms. I tried using the Merge Component Schema action based off the "formLoad" event. The idea was to follow the approach of setting the schema = {..., propToOverride: overwrittenValue... }, although this did not work. I suspect its because the schema of the component has Components itself and merging an array of objects, would involve having some kind of discriminator key to identify which object the overwritten property it refers to. Eg:
Suppose original schema is following:
{
key: "loginFieldset",
type: "fieldset",
....
components: [
{ label: "Login" ... },
{ label: "Password" ... }
]
...
}
And then I want to overwrite the "Password" label only, intuitively I'd do something like:
schema = {
components: [
{ label: "PasswordOverwritten" }
]
}
However I can't see a way to physically merge these objects without telling it which label exactly I am intending to overwrite. A default behavior might be using the index but then that would mean i need to have an empty object on position 0 etc...
Could I get a bit of insight on how this merging behavior works please? As currently no matter what I supply to that schema = ...
it always keeps the original schema instead.
Hello all,
I am having a problem in conditional cases of form. Some components are based on condition if the check box is being selected. However, if not selected they need not be displayed. This works as expected, but when I do the same and hide one of the components, the form has blank spaces all around. Is there any way that the blank spaces can be removed in the form based on condition.
Thanks in advance