GithubHelp home page GithubHelp logo

Comments (4)

StephenOTT avatar StephenOTT commented on June 11, 2024

Thanks for reporting. Great find

from services.

devcitopia-zz avatar devcitopia-zz commented on June 11, 2024

This issue blocks us on creating forms even basic ones. Can you confirm that this issue will be fixed on the next release (scheduled in mid July AFAIK) ?

Thanks for your confirmation.

from services.

StephenOTT avatar StephenOTT commented on June 11, 2024

Yes we will look to get this adjusted as part of that release

from services.

dcoevoet51 avatar dcoevoet51 commented on June 11, 2024

Hello,

Here's an example of an error when I want to access a scenario's form with an multivalue upload component.

form content:

{
	"components": [{
		"label": "Upload",
		"mask": false,
		"tableView": true,
		"alwaysEnabled": false,
		"type": "file",
		"input": true,
		"key": "upload",
		"defaultValue": [],
		"validate": {
			"customMessage": "",
			"json": ""
		},
		"conditional": {
			"show": "",
			"when": "",
			"json": ""
		},
		"storage": "base64",
		"dir": "",
		"fileNameTemplate": "",
		"webcam": false,
		"fileTypes": [{
			"label": "",
			"value": ""
		}],
		"encrypted": false,
		"properties": [],
		"customConditional": "",
		"logic": [],
		"reorder": false,
		"url": "",
		"options": "",
		"webcamSize": ""
	}, {
		"allowCalculateOverride": false,
		"autofocus": false,
		"calculateValue": "",
		"clearOnHide": true,
		"clearOnRefresh": false,
		"conditional": {
			"eq": "",
			"when": null,
			"show": null
		},
		"customClass": "",
		"customDefaultValue": "",
		"dataGridLabel": false,
		"dbIndex": false,
		"defaultValue": "",
		"description": "",
		"disabled": false,
		"errorLabel": "",
		"hidden": true,
		"hideLabel": false,
		"id": "els02no0",
		"input": true,
		"inputFormat": "plain",
		"inputMask": "",
		"inputType": "text",
		"key": "jsonIdentityRequested",
		"label": "Champs Technique",
		"labelMargin": 3,
		"labelPosition": "top",
		"labelWidth": 30,
		"mask": false,
		"multiple": false,
		"persistent": true,
		"placeholder": "",
		"prefix": "",
		"properties": [],
		"protected": false,
		"refreshOn": "",
		"showCharCount": false,
		"showWordCount": false,
		"suffix": "",
		"tabindex": "",
		"tableView": true,
		"tags": [],
		"tooltip": "",
		"type": "textfield",
		"unique": false,
		"validate": {
			"custom": "",
			"customPrivate": false,
			"maxLength": "",
			"maxWords": "",
			"minLength": "",
			"minWords": "",
			"pattern": "",
			"required": false
		},
		"validateOn": "change",
		"widget": {
			"saveAs": "text",
			"dateFormat": "yyyy-MM-dd hh:mm a",
			"format": "yyyy-MM-dd hh:mm a",
			"type": ""
		}
	}, {
		"allowCalculateOverride": false,
		"autofocus": false,
		"calculateValue": "",
		"clearOnHide": true,
		"clearOnRefresh": false,
		"conditional": {
			"eq": "",
			"when": null,
			"show": null
		},
		"customClass": "",
		"customDefaultValue": "",
		"dataGridLabel": false,
		"dbIndex": false,
		"defaultValue": "",
		"description": "",
		"disabled": false,
		"errorLabel": "",
		"hidden": true,
		"hideLabel": false,
		"id": "els02no1",
		"input": true,
		"inputFormat": "plain",
		"inputMask": "",
		"inputType": "text",
		"key": "canalRequest",
		"label": "Champs Technique",
		"labelMargin": 3,
		"labelPosition": "top",
		"labelWidth": 30,
		"mask": false,
		"multiple": false,
		"persistent": true,
		"placeholder": "",
		"prefix": "",
		"properties": [],
		"protected": false,
		"refreshOn": "",
		"showCharCount": false,
		"showWordCount": false,
		"suffix": "",
		"tabindex": "",
		"tableView": true,
		"tags": [],
		"tooltip": "",
		"type": "textfield",
		"unique": false,
		"validate": {
			"custom": "",
			"customPrivate": false,
			"maxLength": "",
			"maxWords": "",
			"minLength": "",
			"minWords": "",
			"pattern": "",
			"required": false
		},
		"validateOn": "change",
		"widget": {
			"saveAs": "text",
			"dateFormat": "yyyy-MM-dd hh:mm a",
			"format": "yyyy-MM-dd hh:mm a",
			"type": ""
		}
	}, {
		"allowCalculateOverride": false,
		"autofocus": false,
		"calculateValue": "",
		"clearOnHide": true,
		"clearOnRefresh": false,
		"conditional": {
			"eq": "",
			"when": null,
			"show": null
		},
		"customClass": "",
		"customDefaultValue": "",
		"dataGridLabel": false,
		"dbIndex": false,
		"defaultValue": "89bad8e2-58ea-4fb4-9cf8-c5bd94400ba0",
		"description": "",
		"disabled": false,
		"errorLabel": "",
		"hidden": true,
		"hideLabel": false,
		"id": "els02no2",
		"input": true,
		"inputFormat": "plain",
		"inputMask": "",
		"inputType": "text",
		"key": "tenantId",
		"label": "Champs Technique",
		"labelMargin": 3,
		"labelPosition": "top",
		"labelWidth": 30,
		"mask": false,
		"multiple": false,
		"persistent": true,
		"placeholder": "",
		"prefix": "",
		"properties": [],
		"protected": false,
		"refreshOn": "",
		"showCharCount": false,
		"showWordCount": false,
		"suffix": "",
		"tabindex": "",
		"tableView": true,
		"tags": [],
		"tooltip": "",
		"type": "textfield",
		"unique": false,
		"validate": {
			"custom": "",
			"customPrivate": false,
			"maxLength": "",
			"maxWords": "",
			"minLength": "",
			"minWords": "",
			"pattern": "",
			"required": false
		},
		"validateOn": "change",
		"widget": {
			"saveAs": "text",
			"dateFormat": "yyyy-MM-dd hh:mm a",
			"format": "yyyy-MM-dd hh:mm a",
			"type": ""
		}
	}]
}

Error returned when I want to show the scenario which this form is linked: Argument 1 passed to Ds\Component\Resolver\Collection\ResolverCollection::resolve() must be of the type string, array given, called in /srv/api/vendor/digitalstate/core/src/Form/Service/FormService.php on line 203

from services.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.